Two things: How can I get the Task to show when they run? If I do a manual run it does not show the Dos screen. If the auto time starts the Task it does not show? Also I have a couple of Task set to run Batch files that do Xcopy of data to another server each night. The Task Scheduler shows they ran successful each day 0x0 and states ran successful. When I look at the destination it does not have the updated data. If I run the same Batch from command prompt it copies the file correct (except for open ones, but they are closed at night). Thanks, Michael
You change the scheduled task to "Run only when user is logged on", it should give an interactive window when you manually run it. Also, in the bat file, output the Xcopy to a log file so you can see if it's having problems while it's running.
Thanks AED, I will give it a try to see what is happening, but I like to keep the task set to run even if I am not logged on. How would I output the xcopy to a log file?
At the end of Xcopy command put a >> "filename.log" and it will maybe give some indication of what's happening but then again It may only report how many files were copied. Robocopy has a nice logging feature, along with several others, so you might want to look at using it.