xcopy error - TechRepublic
General discussion
January 11, 2003 at 12:41 AM
brucelparsons

xcopy error

by brucelparsons . Updated 22 years ago

OK, this is reaching back but we have a server that runs on ast dos 5.0 and Novell. Due to a failed tape drive, I am trying to back up the contents of g:\t12\1000 to c:\backup using the xcopy command.
I verified that the dos version is 5.0 with thever command.
The command xcopy g:\t12\1000\*.* c:\backup /e (or xcopy g:\t12\1000 *.* c:\backup /e)returns an error report telling me that there is an invalid switch used. When I tried it with the /s command it worked fine. Why do you suppose that it would not accept the /e command? I would prefer to copy the empty subdirectories as well.
When I navigate to the directory the dos 5.0 files are kept in and call up xcopy help, /e is listed as a valid switch (as it should be).
Thanks

This discussion is locked

All Comments