need help in shutdown command

Status
Not open for further replies.

rameeze

Broken In
how can i create a batch file to take input from users as time in command "shutdown -s -t <TIME>
 

dheeraj_kumar

Legen-wait for it-dary!
shutdown -s -t %1

thats it... save it as shut.bat or something... and "shut 1000" is 1000 seconds delay etc. its called command line arguments. You can use the choice command in batch scripting but you can only choose between a list of options, as far as i know. Google for more help.
 
Status
Not open for further replies.
Top Bottom