Question : shutdown 2000

i have a shutdown command from winnt 4.0 and does not work on 2000 or xp, what is proper syntex

                    shutdown /l /r /t:03 /y /c

Answer : shutdown 2000

looking at your syntax, /t:10 should be -t 10

for example under xp:

shutdown -s -m \\computer -t 20 -c "shutting down"

would shutdown the remote computer \\computer in 20 seconds and display the message "shutting down" it is important to leave a space between the flag -t and the time 20.

You will also need to have appropiate privalges on the machine you are shutting down.
Random Solutions  
 
programming4us programming4us