Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.
xcopy problem parameters?
Name: buck1 Date: November 15, 2003 at 04:36:09 Pacific OS: windows xp proffesional s CPU/Ram: 256mb
Comment:
hello, ive made a small batch to copy all *.doc to a directry can you tell me if what i have to add @echo off echo are you sure you want to copy these files set command= set /p command=y/n if /i '%choice%'=='y' goto yes if /i '%choice%'=='n' exit :yes xcopy d c:\*.doc C:\Documents and Settings\Danny\filedump echo files have been copied pause
if you can make that work with nt 5.1 (xp) then i will be very gratful danny buck
Name: JackG Date: November 15, 2003 at 05:00:36 Pacific
Reply:
I assume that those are just posting typo's in your XCOPY command. (ie. the missing "/" in front of the "d" and the missing "" around the long file name.
Summary: I am using a batch file in Win95 to back up a folder onto a zip drive. Whenever the batch file runs I receive an "Incorrect DOS Version" error. The batch file is written as follows: c: cd\ cd mydocu~...
Summary: I am aware of this problem in DOS, I guess you should always be aware that the target exists .. or, you could use the magnificent copy utility called xcopy. Check its parameters, there's one which wil...
Summary: I get the error msg "Invalid number of parameters" wshen I try to use the following command from a dos window. xcopy /s/e c:\My Documents\Calendar Formats\*.* c:\amiscdata\calendar\ I;m sure the probl...