I know how to create scheduled task from .bat file. But if the PC is turned off, i want it to run first time someone logs on.
what should i add to this code to make it run if the user opens his pc at 16:00?
Any idea is appreciated.
Code:
SchTasks /Create /SC MONTHLY /D 15 /TN “My Task” /TR “C:RunMe.bat” /ST 14:00
Any idea is appreciated.
My Computer
- OS
- Windows 7 Ultimate 32bit