hi,guys
I want a action to restart the PC by macroSchuedler 7.3, so I use Dos command shutdown with switch -r (restart)
Run Program>cmd.exe /c shutdown -r
i get the prompt saying "system shutdown in 30 seconds",but after 30 seconds it does not shutdown and restart.no a
so I check the commands,I do shutdown with -l (logoff) :
Run Program>cmd.exe /c shutdown -l
it works and logoff the system, I have no idea. Help!
run Dos Commands in Macroscript
Moderators: Dorian (MJT support), JRL
-
- Junior Coder
- Posts: 28
- Joined: Wed Jun 08, 2005 2:48 pm
- Bob Hansen
- Automation Wizard
- Posts: 2475
- Joined: Tue Sep 24, 2002 3:47 am
- Location: Salem, New Hampshire, US
- Contact:
Use the Macro Scheduler command:
Code: Select all
ShutDownWindows>1
Hope this was helpful..................good luck,
Bob
A humble man and PROUD of it!
Bob
A humble man and PROUD of it!