batch file does not run under task scheduler
Posted: 29 Aug 2011 07:58
I have written a batch file to copy certain files from a Windows server 2003 machine to a Windows XP home computer over a previously set up rdp connection. I have manually tested it by running the batch file from the command prompt and double clicking on it in windows explorer and all works fine but I really want to schedule it to run at a particular time each night so I added it as a scheduled task and it fails. Looking in the scheduled tasks window the only clue I have is 'last result' is 0x1.
I have also tried using the 'at' command in the batch file but that does not work either.
I have tried both mapping the destination folder and using \\tsclient\<folder> but neither works. I have also checked that the source and destination folders are both shared.
I would greatly appreciate any guidance on what I am doing wrong or have failed to set up correctly.
I have also tried using the 'at' command in the batch file but that does not work either.
I have tried both mapping the destination folder and using \\tsclient\<folder> but neither works. I have also checked that the source and destination folders are both shared.
I would greatly appreciate any guidance on what I am doing wrong or have failed to set up correctly.