1.

Solve : XCOPY command in bat file doesn't run as scheduled task?

Answer»

Hi,

I have been testing the copying of files from a TEST directory on one SERVER (Windows 2008) to another server (Windows 2003).

I can SUCCESSFULLY execute the XCOPY command in a 'bat' file, but when I schedule the ‘bat’ file as a scheduled
task, the command doesn't work.

XCOPY "E:\backup test\test folder" "\\poweredge\Backups" /C /E /H /I /Y

What am I missing? Something related to PERMISSIONS?

THANKS!Did you schedule the script from the Scheduled Task Wizard or did you use the AT command?macdad,

Thanks for the response. I scheduled the script from the Scheduled Task Wizard.

I found the solution. A friend commented that dos xcopy won't let you use a URL
and that I would need to map a drive. Mapping the drive allowed the xcopy to work!



Discussion

No Comment Found