3dfx Posted February 12, 2002 Share Posted February 12, 2002 I want to make a shutdown and restart button, but I don't know what is the code, someone knows? ;) Link to comment Share on other sites More sharing options...
BroChaos Veteran Posted February 12, 2002 Veteran Share Posted February 12, 2002 %windir%System32shutdown.exe -s -t 0 the -s is for shutdown, -r for restart, -l for logoff t is for the timeout on programs, with the length of time following hope this helps cheers, joe Link to comment Share on other sites More sharing options...
Recommended Posts