Difficulty copying DESCRIPT.ION files

  • This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Charles Dye

Super Moderator
Staff member
May 20, 2008
3,383
39
Albuquerque, NM
prospero.unm.edu
#1
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.
 

rconn

Administrator
Staff member
May 14, 2008
10,100
85
#2
> 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