shutdown.exe user changes

Discussion in 'Windows XP General' started by Guest, Apr 10, 2004.

  1. Guest

    Guest Guest

    I currently use a batch file with "shutdown -r -f" in xp for reboot and force apps to close. Works fine

    I'd like to add a short message to my boot bat file, which is currently blank and change the default timer from 30 seconds a different time (maybe 15 seconds). How can I do this?
     
    Guest, Apr 10, 2004
    #1
    1. Advertisements

  2. Guest

    Brian Guest

    shutdown -r -f -t 15
    force apps to close. Works fine.
    blank and change the default timer from 30 seconds a different time (maybe
    15 seconds). How can I do this?
     
    Brian, Apr 10, 2004
    #2
    1. Advertisements

  3. Guest

    Guest Guest

    Thanks for the quick reply. I did notice that between the local XP machine with "shutdown /?" vs the knowledge base I was getting sightly different answers. Like -f for force is listed in one but not the other , same for -c vs "message here" etc... Again similar but sometimes conflicting info

    Using trial and error I was able to get a message and change the time out by using "shutdown -r -f /t 15 /c "Save all information ASAP" as an example

    As a follow on to this post does XP or Win2k or Win98 care about use of "/" vs "-" in switch use? In the above is where I've noticed the different references to the use of a switch by MS itself

    Thanks again- Dan
     
    Guest, Apr 10, 2004
    #3
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.