- Jul
- 447
- 6
Since the only way to copy a descript.ion file is to remove the hidden attribute I think the help for COPY needs a revision.
The following can be found below the /Z explanation of the Advanced Features for COPY.
Use caution with /A:, /H, or /K when both the source and destination directories contain file descriptions. If the source file specification matches the description file name (normally DESCRIPT.ION), and you use a switch which tells COPY to process hidden files,
the DESCRIPT.ION file itself will be copied, overwriting any existing file descriptions in the destination directory. For example, if the \DATA directory contains file descriptions this command would overwrite any existing descriptions in the \SAVE directory:
[c:\data] copy /h d* \save\
I would recommend this whole caution be deleted since /A: /H /K do not allow copy to work on a hidden DESCRIPT.ION file.
The following can be found below the /Z explanation of the Advanced Features for COPY.
Use caution with /A:, /H, or /K when both the source and destination directories contain file descriptions. If the source file specification matches the description file name (normally DESCRIPT.ION), and you use a switch which tells COPY to process hidden files,
the DESCRIPT.ION file itself will be copied, overwriting any existing file descriptions in the destination directory. For example, if the \DATA directory contains file descriptions this command would overwrite any existing descriptions in the \SAVE directory:
[c:\data] copy /h d* \save\
I would recommend this whole caution be deleted since /A: /H /K do not allow copy to work on a hidden DESCRIPT.ION file.