I want to schedule an ME box to shut down each night at a specific time. Can this be done in a simple way, without any 3rd party software?
VB to send some keystrokes?
Spidey
Auto Shutdown
Re:
That's because there is an actual "shutdown" command.Thenior wrote:yeah, it's pretty easy to do. Just don't name the .bat file "shutdown.bat". You can name it "turnmeoff.bat" or whatever, but apparently shutdown causes it to not work.
I don't remember if ME comes with the "shutdown" executable included. Easy test: At a command prompt type in shutdown and press enter. If the executable is present, you will see some information about the shutdown parameters.
There is actually quite a bit of useful info "out there".
Here is a good list of shutdown commands for various OS versions (ME is listed): http://www.robvanderwoude.com/shutdown.php
Here is some great information on doing batch files: http://www.robvanderwoude.com/batchfiles.php
SysInternal's "PsShutdown" might be a good tool for you: http://technet.microsoft.com/en-us/sysi ... 97541.aspx
Jorgen Bosman's PowerOff utility might be all you need. Ran without parameters, it gives you a GUI and includes the ability to schedule your shutdown commands from inside that GUI.
Cheers.