Monday, December 12, 2011

How can i make a batch file program that i can set a date and a time so that it will turn on or open a program?

how can i make a batch file program that i can set a date and a time so that it will turn on or open a program at a givin date and time and if its possible to do that how do i make it open certain files or a program or other batch files? one more thing can i make it turn on the pc and turn it off at a certain time?|||You cannot use batch scripting for any of this. You will need to use the Task Scheduler or the AT command. As for turning your computer on (off is not an issue), you will need to check your BIOS if it is supported. If not, you will need to use a device which you connect in between your power cable and wall outlet and which you can set to a certain time; people often use such devices to turn lights on for example. I do not know however how such devices are called.|||Turn on - not that I know of


Turn off - assuming you're running Windows, set shutdown.exe to a scheduled task (google scheduled tasks and your version of windows)


Do other stuff - set your program as a scheduled task (same as above to figure out scheduled tasks)

No comments:

Post a Comment