sirBAMF Posted January 12, 2009 Share Posted January 12, 2009 what is the best way to set a batch file to execute something at a certain time? Quote Link to comment Share on other sites More sharing options...
geekdba Posted January 12, 2009 Share Posted January 12, 2009 Use at scheduler Quote Link to comment Share on other sites More sharing options...
sirBAMF Posted January 12, 2009 Author Share Posted January 12, 2009 i tried that at 18:30 /every:m,t X:\program.bat and nothing happened at that time Quote Link to comment Share on other sites More sharing options...
WhollyMindless Posted January 13, 2009 Share Posted January 13, 2009 i tried that at 18:30 /every:m,t X:\program.bat and nothing happened at that time You need to pass your script to cmd.exe to be run. try "cmd.exe /c program.bat" You can easily monkey with your scripts using "Scheduled Tasks" in the control panel. Quote Link to comment Share on other sites More sharing options...
sirBAMF Posted January 14, 2009 Author Share Posted January 14, 2009 ok so the batch file i created sucessfully opens a .wmv file. I also verified that you can open the file via command propmt. However, when i run the scheduled task it sucessfully opens the batch file but does not display the .wmv C:\WINDOWS\system32>cd config C:\WINDOWS\system32\config>start movie.wmv C:\WINDOWS\system32\config>pause Press any key to continue . . . Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.