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.