Welcome!

By registering with us, you'll be able to discuss, share and private message with other members of our community.

SignUp Now!

Difficulty copying DESCRIPT.ION files

Charles Dye

Super Moderator
May
4,947
126
Staff member
Code:
[C:\Source]ver /r

TCC  11.00.48   Windows XP [Version 5.1.2600]
TCC Build 48   Windows XP Build 2600  Service Pack 3
Registered to Charles Dye - 5 System License

[C:\Source]setdos /d0

[C:\Source]which copy
copy is an internal command

[C:\Source]dir /a /t

 Volume in drive C is Hard Drive     Serial number is 30fb:4668
 Directory of  C:\Source\*

 5/08/2010  13:34         <DIR>    ____D________  .
 5/08/2010  13:34         <DIR>    ____D________  ..
 5/08/2010  13:34             121  _H_A_________  DESCRIPT.ION
 5/08/2010  13:33              15  _H_A_________  HiddenFile.txt
 5/08/2010  13:33              15  ___A_________  NormalFile.txt
               151 bytes in 3 files and 2 dirs    12,288 bytes allocated
   143,269,273,600 bytes free

[C:\Source]copy /a: /k * c:\Destination
C:\Source\HiddenFile.txt => C:\Destination\HiddenFile.txt
C:\Source\NormalFile.txt => C:\Destination\NormalFile.txt
     2 files copied

[C:\Source]copy /a: /k *.ion c:\Destination
     0 files copied

[C:\Source]copy /h /k *.ion c:\Destination
     0 files copied

[C:\Source]copy /a: /k descript.ion c:\Destination
     0 files copied

[C:\Source]copy /h /k descript.ion c:\Destination
     0 files copied

[C:\Source]attrib -h descript.ion
_H_A_________ -> ___A_________  C:\Source\DESCRIPT.ION

[C:\Source]copy DESCRIPT.ION c:\Destination
C:\Source\DESCRIPT.ION => C:\Destination\DESCRIPT.ION
     1 file copied

[C:\Source]

Um... huh? The file is there, but COPY refuses to see it, even when /A: or /H is specified. Clear the hidden attribute, and COPY works as expected.

New "feature"? I don't recall older versions behaving like this.
 
> Um... huh? The file is there, but COPY refuses to see it, even when
> /A: or /H is specified. Clear the hidden attribute, and COPY works as
> expected.
>
> New "feature"? I don't recall older versions behaving like this.

New feature as of 4DOS 2.0 (1989).

It would be an unimaginably horrible thing if COPY were to copy hidden
DESCRIPT.ION files.

Rex Conn
JP Software
 

Similar threads

Back
Top