Greetings,
Is there a command in DOS to copy a single directory and all directories and files contained in it?
I am having to copy drivers off a CD in DOS because the system will only boot in safe mode, where I cannot access the CD.
Thank you,
Al
Printable View
Greetings,
Is there a command in DOS to copy a single directory and all directories and files contained in it?
I am having to copy drivers off a CD in DOS because the system will only boot in safe mode, where I cannot access the CD.
Thank you,
Al
Use XCOPY with /s switch.
At prompt XCOPY /? will give you syntax/options. (You may be aware of that but figured it wouldn't hurt to include :) ).
Though Wyckyd1 is right there is a slight error.
Xcopy /s copies directories and subdirectories as well.
-BUT-
It does not copy EMPTY Directory which some appliation might require them.
For this you should use the
XCOPY /E
Which does the same as /s but copies empty subdir as well.
Good Luck
Gabriel