|
-
July 27th, 2001, 09:00 AM
#1
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)
-
July 27th, 2001, 10:58 AM
#2
Registered User
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">
-
July 27th, 2001, 11:44 AM
#3
Registered User
oops, sorry wrong forumm... disregard
-
July 27th, 2001, 12:16 PM
#4
sorry - I meant reboot windows.
-
July 27th, 2001, 12:30 PM
#5
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
-
July 27th, 2001, 01:33 PM
#6
Registered User
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
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
|
Bookmarks