devxlogo

November 19, 2004

Shutdown/Restart Windows Without Long API Calls

To shutdown Windows, just type the following code: Shell “shutdown -s -t 00” To restart windows: Shell “shutdown -r -t 00” Here’s the key: -s means shutdown. -r means restart.