- May
- 382
- 2
Would someone please show me the right options to copy descript.ion to description-backup.ion (full paths) ? TIA
By registering with us, you'll be able to discuss, share and private message with other members of our community.
SignUp Now!Thank you, but unfortunately /h doesn't seem to help.Since descript.ion is normally a hidden file, to copy it you need to use the /H option (or the /a:+h option) else COPY will ignore it.
The command below ought to do what you are asking:
copy /h descript.ion description-backup.ion
V:\>attrib /a: desc*
_H_A___________ V:\descript.ion
V:\>copy /h descript.ion description-backup.ion
0 files copied
V:\>copy /a+h descript.ion description-backup.ion
TCC: (Sys) The system cannot find the file specified.
"V:\descript.ion"
0 files copied
V:\>copy /h /a+h descript.ion description-backup.ion
0 files copied
setdos /d0
setdos /d"nul.ion"
copy /h descript.ion description-backup.ion
setdos /d"descript.ion"
setdos /d1