G
Guest
I have a batch file which I routinely run to copy some large files to my PC
from a server (with the XCOPY command). The batch file also contains a
following DIR command so that I can see that the files have been copied over
(with the latest dates), and at the end is a PAUSE statement so that the
command prompt window stays open while I review the file dates. It all works
very well
I also created a scheduled task to execute the batch file (just a one-off
execution while still testing). When I run the task, nothing happens for a
few seconds, and then a command prompt screen flashes up and disappears
within a couple of milliseconds (too fast to get a screen dump), and the
files haven't been copied.
Any ideas as to why the batch file may not be executing properly?
from a server (with the XCOPY command). The batch file also contains a
following DIR command so that I can see that the files have been copied over
(with the latest dates), and at the end is a PAUSE statement so that the
command prompt window stays open while I review the file dates. It all works
very well
I also created a scheduled task to execute the batch file (just a one-off
execution while still testing). When I run the task, nothing happens for a
few seconds, and then a command prompt screen flashes up and disappears
within a couple of milliseconds (too fast to get a screen dump), and the
files haven't been copied.
Any ideas as to why the batch file may not be executing properly?