Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie

Shutdown Win9x From Command prompt

Options
  • 19-02-2004 2:55pm
    #1
    Registered Users Posts: 6,949 ✭✭✭


    im looking for an even easier way to shut down a laptop for a customer. Alt+F4 seems overcomplicated for them!

    is it possible to shutdown the pc through a batch file>


Comments

  • Closed Accounts Posts: 1,313 ✭✭✭bus77


    Yeah, you can setup a shortcut.

    C:\WINDOWS\RUNDLL.EXE user.exe,exitwindows


  • Registered Users Posts: 14,761 ✭✭✭✭Winters


    Shortcut is simple and mentioned above..

    But there is the even easier option of "point and click". Mention the use of clicking the start button then shut down. Amazing.


  • Registered Users Posts: 6,949 ✭✭✭SouperComputer


    seemingly point and click is too complicated.

    wants a portable DVD player with a decent screen, AKA laptop.

    Cheers for the command, ill give it a ging.


  • Closed Accounts Posts: 1,006 ✭✭✭theciscokid


    not stupidity but sloth


  • Registered Users Posts: 6,317 ✭✭✭OfflerCrocGod


    Originally posted by theciscokid
    not stupidity but sloth
    No no no BOTH stupidity AND sloth.


  • Advertisement
  • Moderators, Recreation & Hobbies Moderators, Science, Health & Environment Moderators, Technology & Internet Moderators Posts: 91,807 Mod ✭✭✭✭Capt'n Midnight


    Originally posted by bus77
    Yeah, you can setup a shortcut.

    C:\WINDOWS\RUNDLL.EXE user.exe,exitwindows

    Anyone know the settings for this ?
    AFAIK there are several options depending on whether you want a reboot (warm/cold) or wait for apps to close or whether you want to restart regardless of what is open (handy for remote pc's)

    For NT/2K/XP the shutdown.exe utility from the res kit etc. is very handy

    [edit] - looks like it ,2
    http://www.robvanderwoude.com/index.html
    http://flashtools.net/tutorials/ftoolapp_opening_rundll.htm
    http://www.ericphelps.com/batch/rundll/


    Windows NT 4: - LOL - someone had fun figuring this out...
    @ECHO OFF
    PUSHD "%temp%"
    ECHO [Version] > {out}.inf
    ECHO signature=$chicago$ >> {out}.inf
    ECHO [defaultinstall] >> {out}.inf
    RUNDLL32 SETUPAPI,InstallHinfSection DefaultInstall 1 {out}.inf
    DEL {out}.inf
    POPD
    
    (original batch file by Walter Zackery, adapted for readability)
    


Advertisement