I have created a schedule task on a Windows 2010 server to run a BAT file. I have already specify the full path of the BAT (for ex: c:\scripts\test.bat) in the Program/Script field and put the full path in the Start-in field (for example c:\scripts).
The BAT runs fine in Windows Explorer. However, when schedule task calls it, it runs, provides the expected result but it just keeps on running.
Please advise if anyone has a clue to fix it.