dfarq.homeip.net
Windows shutdown command
If you need to shut down or reboot from a command line or batch file, you can do all of that and more with the Windows shutdown command, shutdown.exe
Dave Farquhar