ms-dos copy command syntax

  • Thread starter Thread starter kaih4
  • Start date Start date
K

kaih4

I'm trying to write a batch file to backup the data
files, email folders, address book, favorites, etc. onto
a separate drive so if the system or hard drive
crashes ... Is there a switch to use with the "copy
[source] [destination]" DOS command that will copy both
the files and all the folders contained in the source
directory?
 
xcopy it is! thanks. I should have learned DOS better.
-----Original Message-----
start->run->cmd [enter]

copy /? [enter]

xcopy /? [enter]

What you want is xcopy.


--
Walter Clayton - MS MVP(WinXP)
Associate Expert
http://www.microsoft.com/windowsxp/expertzone
Any technology distinguishable from magic is insufficiently advanced.
http://www.dts-l.org


I'm trying to write a batch file to backup the data
files, email folders, address book, favorites, etc. onto
a separate drive so if the system or hard drive
crashes ... Is there a switch to use with the "copy
[source] [destination]" DOS command that will copy both
the files and all the folders contained in the source
directory?

.
 
Back
Top