Cannot run batch files
Posted on 2009-04-30
Im having a problem with three machines (I suspect since the latest Micrososft patches last week). The issue is the machines will not run any batch files as a specific user from the Windows XP Gui. If you go to a cmd prompt you can run them fine, if you schedule them with the users credentials it works fine.
The exact error is "Windows cannot find 'c:\test.bat'. Make sure you typed the name correctly, and then try again. To search for a file, click the start button, and then click Seach".
It doesnt matter where the batch file is. If you right click on the batch file and choose edit you can view it, make amendments, save it, which suggests theres no permissions issue?
I've tried running the various registry scripts to reassociate batch files correctly, but they dont have any effect.