Microsoft
Software
Hardware
Network
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
Exchange 2007 - Error 5.1.0 - Unknown address error 550-'5.1.1 User unknown'
How can I destroy all data on this old server?
SharePoint Recovery when all you have are the SQL files from disk ?
How do I get the value of xpages file upload
Since upgrading to SQL 2008 linked Access Tables/Queries Very Slow
Macro to clear all rows below the last cell of data
How do I resolve stop error: *** STOP: 0x0000007B (0xF789EA94, 0XC0000034,0x0000000,0x000
0000)
Unable to re-add a user in BES 5.1 after the user has been deleted
DatetimePicker in datagridview MSDN example problem
Something keeps changing the default permissions of my settings.php file for a web site on Linux