I want to run a .bat file automatically every night. I have referenced the .bat file via Windows scheduled tasks and have tried running the .bat file manually. I can see window briefly flashes but it seems as if .bat file does not gets invoked. I have created a test .bat file and even that's not getting invoked so there's nothing wrong with the original bat file that i am having. I have tried referencing cmd.exe /c "c:\test.bat" in but it did not worked. Please let me know if there is anything that i can try out to run my .bat file.