Discussion Locked

DOS xcopy in win2000

0 helpful
6 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
I use a dos XCOPY batch(.bat) file to copy files and folders that works fine in Win98. When I try to run it in Win2000 it gives a quick xcopy splash screen but does nothing else. It's a handy little program that I write and run in task scheduler which saves a lot of headaches when users inadvertently delete or corrupt their data. Fixes/suggestions anyone???

6 replies

by glenn

I tried it but could not get it to run properly even on a win98 machine.

by opatzg9

unles your recursing subdirectories, the COPY command will perform the same job.

by mike jones

I suspect that you are getting file permission errors. You have to tell the task scheduler which ID to run under I think and I suspect that the ID's that it is running with doesn't have enough privelages to copy the files.

Go to the command prompt and run the file in a window so you can see what the error message being reported is.

I also think that you need to use xopy32 not just xcopy.

by smlandau

I have been using Windows 2000 for quite a while
and find the standard XCOPY command works fine. Try running it in a DOS window with some test files and directories and note if any error messages come up. Also, make sure you are using the correctswitches......

This discussion is closed to new replies.