Excellent Bill. Thank You!
Nospam
You need to explain a little more about what you want to do. The example
you give is not correct, you need to use a backslash (\), not a forward
slash (/). The example you give would copy the files in "c:\folder" to the
root of d:, but not the actual folder or any subfolders. Is that what you
want? Also, is d: another hard drive or partition, or the CD-ROM? For
correct syntax on xcopy, type
xcopy /?
from a command line prompt.
The easiest way to do a simple job like this is with a batch file. With a
few exceptions, whatever you would type at the command line, you can put it
in a text file and save it with a .bat (or .cmd) file extension (mycopy.bat,
for example) then double-click mycopy.bat to run the commands.
--
Bill James
Microsoft MVP - Shell/User
Win9x VBScript Utilities »
www.billsway.com/vbspage/
Windows Tweaks & Tips »
www.billsway.com/notes_public/