Windows 98 Shutdown Command
Results 1 to 6 of 6

Thread: Windows 98 Shutdown Command

  1. #1
    Registered User
    Join Date
    Aug 1999
    Location
    near the backdoor to hell
    Posts
    804

    Post Windows 98 Shutdown Command

    I need someone to help me with the command that shutsdown windows, or someone that could write me up a vbs script for it.
    currenty I am using:
    rundll C:\windows\system\user.exe,ExitWindowsExec

    which from a nt login script, doesn't work quite right (it prompts to close the dos window that I have it running from)

  2. #2
    Registered User Penman's Avatar
    Join Date
    Apr 2001
    Location
    Scotland
    Posts
    104

    Post

    rundll32.exe shell32.dll,SHExitWindowsEx 1

    that'll shut down windows for you I think, works as a shortcut on the desktop <IMG SRC="smilies/wink.gif" border="0"> dont have '98 installed anymore so I cant check for you sorry! <IMG SRC="smilies/confused.gif" border="0">

  3. #3
    Registered User techs's Avatar
    Join Date
    Aug 2000
    Location
    In one of the really, really Blue states.
    Posts
    5,159

    Post

    oops, sorry wrong forumm... disregard

  4. #4
    Registered User
    Join Date
    Aug 1999
    Location
    near the backdoor to hell
    Posts
    804

    Post

    sorry - I meant reboot windows.

  5. #5
    Registered User
    Join Date
    Jan 2001
    Location
    Infront of my computer
    Posts
    174

    Post

    Ive paste that topic before .. @ Tech Tips..

    For Windows 98 & Me

    C:\WINDOWS\RUNDLL32.EXE shell32,SHExitWindowsEx x

    Where x is either 0, 1 or 2 based on the following table:

    0 - Log off
    1 - Shutdown
    2 - Restart

    For Windows 95

    C:\WINDOWS\Rundll32.exe User,ExitWindows

  6. #6
    Registered User Penman's Avatar
    Join Date
    Apr 2001
    Location
    Scotland
    Posts
    104

    Post

    Randolph dont suppose you know a logoff command for windows 95 do you? I know these ones but really want just a log off!

    For Shutdown:
    c:\windows\rundll.exe user.exe,exitwindows
    For Restart:
    c:\windows\rundll.exe user.exe,exitwindowsexec

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •