Powered by |
Reboot, logoff utilityOnce I have wrote a simple helper utility for Windows to perform all these actions from command line or batch file. Plain API used. Here is its output. With empty command line parameters it does nothing but displays a help: Usage: reboot [-option1] [-option2]
Option1:
logoff
poweroff
reboot
shutdown
Option2:
force
Default: reboot
Expample: reboot -reboot There is something similar in the net and MS Resource Kit, but I prefer mine.
|