Question : Schedule .vbs & .bat files - HELP NEEDED!

Hello everyone,
Ok here is the scenario, we have a PC with Windows XP on it. The machine runs 24/7 with a user logged in. It isn't set to sleep or hibernate or anything like that. The user has admin rights on the machine. We are using this machine to run some reports. First we create a mirror from our point of sale on the machine locally and then we would run the report off the mirror. We have a task scheduled with task scheduler to run a .bat file that copies the files over the network to a local directory. If I login to the machine via VNC and run the task it runs fine, if I schedule it doesn't run and the scheduler shows no errors. I tried another scheduler called "System Scheduler 3.1" and it came back with an error telling me , " the file is not a valid Win32 application" in this batch file I am using the following:

@ECHO on
xcopy \\PointofSale\Mirror\File.DBF  C:\Mirror\ /C /F /h /Y >C:\Reports\Logs\Copy_All_tables.log

Any ideas? I have been working on this issue for a couple months and and it's becoming a major problem at work.

Thanks for all your help!

Answer : Schedule .vbs & .bat files - HELP NEEDED!


go to the CMD.EXE file in \windows\system32
and give the local account read/execute permissions on the CMD.EXE file
Random Solutions  
 
programming4us programming4us