Rebooting Win2k with a batch or an exec
Hi, I wish to be able to reboot my PC by executing on it a batch or an executable. Is-it possible and in fact what must I put in my batch or what exec must I use? Thank you very much. Paddle.
Hi,
I wish to be able to reboot my PC by executing on it a batch or an executable. Is-it possible and in fact what must I put in my batch or what exec must I use?
Thank you very much.
Paddle
I wish to be able to reboot my PC by executing on it a batch or an executable. Is-it possible and in fact what must I put in my batch or what exec must I use?
Thank you very much.
Paddle
Participate on our website and join the conversation
This topic is archived. New comments cannot be posted and votes cannot be cast.
Responses to this topic
This is the .vbs I use for restart:
set WshShell = CreateObject("WScript.Shell")
WshShell.SendKeys "%{F4}r{ENTER}"
But I think it'll only work if you run it from the desktop.
set WshShell = CreateObject("WScript.Shell")
WshShell.SendKeys "%{F4}r{ENTER}"
But I think it'll only work if you run it from the desktop.
www.sysinternals.com has a few utils called 'pstools' which i find very useful. amongst other things you can batch local or remote (same domain though) shutdowns and reboots