how to write a command in ms dos for shut down of PC

  • Thread starter Thread starter VIVEKMANE
  • Start date Start date
VIVEKMANE said:
How to write a command in ms dos for shut down of PC

You probably mean "Command Prompt", not "MS DOS"
(which is an operating system introduced in 1978, now
confined to the history books of computing). Click Start/
Run/cmd{enter}, then type this command:

shutdown /? {Enter}

This will show you the various switches available to
shut down or restart your PC.
 
On a real dos machine you don't need a shutdown command, you just went the c
prompt and turned the machine off.
 
VIVEKMANE said:
How to write a command in ms dos for shut down of PC

Whack a shortcut on the desktop and put these commands in the shortcut
target box.

Shutdown ( 2 second delay )
%windir%\system32\shutdown.exe -s -t 02 -c "The System Is Going For A
Shutdown Now"

Reboot ( 1 second delay )
%windir%\system32\shutdown.exe -r -t 01 -c "The System Is Going For A Reboot
Now"



--
---------------------------------------------------------------------------------------------------
Naked DSL ?
No thanks , I like to wear clothes when I use my computer


Sandgroper
 
Back
Top