Why doesn't this Scheduled backup task work?
Posted on 2004-09-09
If i enter the following into COPY.CMD and then register this CMD into
the Schedule Task list I see it run & it exits immediately with error code 4.
Can anyone explain why?
echo "Delete target directories"
del /F /S /Q w:\*.*
echo "Copy Over"
xcopy f:\foo w:\foo /s /Y
xcopy f:\goo w:\goo /s /Y
xcopy f:\hoo w:\hoo /s /Y
The above was run under the Administrator account, F is the local machine, W is
a drive mounted on a separate machine on a local network.
Is it having a problem with the *.* list, there are quite a few files involved.