Steps on how to shut down and restart your computer using a Windows or DOS batch file.
www.computerhope.com