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

Difficulty copying DESCRIPT.ION files

Discussion in 'Support' started by Charles Dye, May 8, 2010.

  1. Charles Dye

    Charles Dye Super Moderator
    Staff Member

    Joined:
    May 20, 2008
    Messages:
    3,307
    Likes Received:
    39
    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.
     
  2. rconn

    rconn Administrator
    Staff Member

    Joined:
    May 14, 2008
    Messages:
    9,859
    Likes Received:
    83
    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
     

Share This Page