Tom's Guide | Tom's Hardware | Tom's Games
![]() |
![]() |
![]() |
Could someone refresh my memory in regard to the meaning of the switches for xcopy.
As in xcopy /s /c /h /e /r /k
I think s is for system files
and h for hidden files
and e for ? empty directories
but c and r and k has got me stumped.
Thankyou...Krystyna

/S Copies subdirectories
/E Copies subdirectories, including empty ones.
/C continues copying even if errors occur.
/h copies hidden and system files
/r overwrites read only files
/k copies attributes.
/? actually listed all these switches for me. Coincidentally, /? works on most DOS commands. Try it.-Michael

I don't think you can copy hidden and system files in Microsoft DOS. You got that off a DR-DOS Xcopy /?, didn't you?
The reason you can/t Xcopy Windows 95 and above to another drive as a backup is that lack of /h and long filenames. And think how contrived long filenames are. Command.Com is loaded in DOS. So a modification to Command.COM must be loaded in windows instead of just modifying command.com.

Thanks for the responses.
I did try xcopy/? but it was from C:\Windows\Command from Win 9x.
The only switches they mentioned from that list was S and E.
When I tried to xcopy some hidden files to a floppy, I got invalid parameters for H and C and R and K.
I haven't dealt directly with DOS since I started using Windows 3.1, so I just plain forget it all.
The reason for my interest is that I have read in the Win 9x forum about cloning a HDD by using the command
xcopy C:\ D:\ /s /h /e /r /c /k
I tried it, but got nowhere fast.
Is that a valid command that should work in Windows 9x, or is it just for pure DOS.
Thanks...Krystyna

![]() |
Network bootdisk, slow da...
|
please...NEED HELP 2
|

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.
| Ads by Google |