I have batch file that need to run every day at 9 AM and create log. batch file works fine manually (by clicking it or from command line). However, When i set up the task by using task scheduler, it fails to run. (cmd.exe quickly shows up and shuts down and task is complete. (@ task scheduler log) However, no log has been created. I also tried putting pause in my program to hope that my program is being executed, but sadly it isn't.
Can anyone tell me what is the solution to this? Thanks in advance.