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
Hi there,
There is an issue with role permissions that is being worked on at the moment.
If you are having trouble with access or permissions on regional forums please post here to get access: https://www.boards.ie/discussion/2058365403/you-do-not-have-permission-for-that#latest

Shutdown Win9x From Command prompt

  • 19-02-2004 1:55pm
    #1
    Registered Users, Registered Users 2 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, Registered Users 2 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, Registered Users 2 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, Registered Users 2 Posts: 6,334 ✭✭✭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: 93,604 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