Question on using "shutdown" command [Archive] - SpeedGuide.net Broadband Community

View Full Version : Question on using "shutdown" command


bbimber
08-18-06, 11:30 AM
I would like to set up a batch file that will automatically turn off my computer at 2AM every night. however - i would like to have a dialog popup that gives me the option of aborting the dialog if i happen to be using it.

the command to shut down the computer is easy enough:

shutdown -c "Turning off computer"

but how can i make the option to abort it?

thanks.