I made a scheduled task that running on Windows Server 2008. I have a scheduled task that calls a .bat file. The fist step in the .bat file is just make a folder to the same directory in which the .bat file exists. This allows me to find out if it is ever run. When the .bat file is run from a command prompt it runs as expected making a folder to the same directory.
My problem is that when I run the scheduled task manually or allow it to run when scheduled it appears to run but the .bat file is never run. No folder is ever created. The History tab in the properties of the scheduled tasks shows the task being started and running then completing with an operation code of 2.
http://aalmcom.blogspot.com/
ReplyDelete