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
Page 1 of 1
Rebooting Win2k with a batch or an exec
#3
Posted 08 April 2001 - 08:23 AM
Yes, of course.
Please send me it.
bulletin-board@paddle-coorp.yi.org
Thank you.
Please send me it.
bulletin-board@paddle-coorp.yi.org
Thank you.
#6
Posted 09 April 2001 - 10:29 PM
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.
#7
Posted 10 April 2001 - 06:40 AM
Yes, I think so too, cos it seems to send the Alt+F4 keys to close windows...
Or, I'm not always logged in a session...
But thank you for for the idea.
Or, I'm not always logged in a session...
But thank you for for the idea.
#8
Posted 10 April 2001 - 11:19 AM
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
#9
Posted 10 April 2001 - 12:52 PM
Thank you.
This tool seems to fit my aim.
I'll try it this evening.
This tool seems to fit my aim.
I'll try it this evening.
Share this topic:
Page 1 of 1

Help










