|
|
Question about 'Restart Windows without Restarting your Computer'
Showing all messages in thread #1038387816 Windows 98 Annoyances Discussion Forum
The following are all of the messages in this thread (10 in all), shown in chronological order. Click any message subject to view that message by itself or to view the thread hierarchy.
|
Question about 'Restart Windows without Restarting your Computer'
Wednesday, November 27, 2002 at 1:03 am Posted by Aleksander
(3 messages posted)
I have a question about Restart
Windows without Restarting your Computer:
Hello all,
This restarting batch file works pretty well on my computer, the only problem is
that I can't use hotkeys with.
On the other hand, I am using successfully a simple shortcut with this code at the
place for Target :
C:\WINDOWS\RUNDLL.EXE user.exe,exitwindows
This one is accepting hotkeys : personally, I press Ctrl+Shift+Alt+Q and, if all
open documents are saved, my computer is immediately off.
My question is : would it be possible to modify that code in order to get restart
Windows instead of shutdown ? I've tried to replace the end : "exitwindows" by "restartwindows"
but it doesn't work.
Thanks a lot in advance
[Reply or follow-up to this message]
|
re: Question about 'Restart Windows without Restarting your Computer'
Wednesday, November 27, 2002 at 1:46 am Posted by JmC
(13614 messages posted)
Restart shortcut: C:\WINDOWS\RUNDLL32.EXE shell32,SHExitWindowsEx 2
JmC
On Wednesday, November 27, 2002 at 1:03 am, Aleksander wrote:
>I have a question about Restart
>Windows without Restarting your Computer:
>
>Hello all,
>
>This restarting batch file works pretty well on my computer, the only problem is
>that I can't use hotkeys with.
>
[Reply or follow-up to this message]
|
re: Question about 'Restart Windows without Restarting your Computer'
Wednesday, November 27, 2002 at 2:13 am Posted by Aleksander
(3 messages posted)
Thank you ! That's fine but it is rather a reboot shortcut. There is no any other
one for RESTART Windows only ?
On Wednesday, November 27, 2002 at 1:46 am, JmC wrote:
>
>
>
>Restart shortcut: C:\WINDOWS\RUNDLL32.EXE shell32,SHExitWindowsEx 2
>
>
>
> JmC
>
>
>
>
>
>
>
[Reply or follow-up to this message]
|
re: Question about 'Restart Windows without Restarting your Computer'
Wednesday, November 27, 2002 at 4:53 am Posted by Deke
(366 messages posted)
Just tried this and it works:
For the Windows "Restart!" (warm reboot) shortcut (all Windows 95/98 releases):
C:\WINDOWS\RUNDLL.EXE C:\WINDOWS\SYSTEM\USER.EXE,ExitWindowsExec
Note that you canNOT use RUNDLL32.EXE for this last command with Win98/98 SE because
the GUI does NOT support this 32-bit DLL API redirect from the command line, and
after all USER.EXE is a "plain" 16-bit executable. :(
For the Windows complete (cold) "Reboot!" shortcut (Windows 98/98 SE only):
C:\WINDOWS\RUNDLL32.EXE C:\WINDOWS\SYSTEM\SHELL32.DLL,SHExitWindowsEx 2
Jim-What is the difference between the (warm) and (cold) reboot?
Courtsey of Fork_Boy
On Wednesday, November 27, 2002 at 1:03 am, Aleksander wrote:
>I have a question about Restart
>Windows without Restarting your Computer:
>
>Hello all,
>
>This restarting batch file works pretty well on my computer, the only problem is
>that I can't use hotkeys with.
>
[Reply or follow-up to this message]
|
re: Question about 'Restart Windows without Restarting your Computer'
Wednesday, November 27, 2002 at 5:34 am Posted by Michael
(2800 messages posted)
It won't work with RUNDLL32.EXE because you're making an API call from a file that
is only there for backwards compatibility with 16-bit Windows 3.x files.
On Wednesday, November 27, 2002 at 4:53 am, Deke wrote:
>Just tried this and it works:
>
>For the Windows "Restart!" (warm reboot) shortcut (all Windows 95/98 releases):
>C:\WINDOWS\RUNDLL.EXE C:\WINDOWS\SYSTEM\USER.EXE,ExitWindowsExec
>Note that you canNOT use RUNDLL32.EXE for this last command with Win98/98 SE because
>the GUI does NOT support this 32-bit DLL API redirect from the command line, and
>after all USER.EXE is a "plain" 16-bit executable. :(
>
>
>For the Windows complete (cold) "Reboot!" shortcut (Windows 98/98 SE only):
>C:\WINDOWS\RUNDLL32.EXE C:\WINDOWS\SYSTEM\SHELL32.DLL,SHExitWindowsEx 2
>
>Jim-What is the difference between the (warm) and (cold) reboot?
>
>Courtsey of Fork_Boy
>
>
>
[Reply or follow-up to this message]
|
re: Question about 'Restart Windows without Restarting your Computer'
Wednesday, November 27, 2002 at 11:45 pm Posted by Aleksander
(3 messages posted)
==================================
So, this is a summary of shortcuts working on my computer (Win 98 SE) :
"Restart" shortcut (warm reboot - Windows restart only) :
C:\WINDOWS\RUNDLL.EXE user.exe,exitwindowsExec
"Reboot" shortcut (cold reboot - restart complete) :
C:\WINDOWS\RUNDLL32.EXE shell32,SHExitWindowsEx 2
"Shutdown" shortcut :
C:\WINDOWS\RUNDLL.EXE user.exe,exitwindows
Thanks for help :)))
==================================
On Wednesday, November 27, 2002 at 4:53 am, Deke wrote:
>Just tried this and it works:
>
>For the Windows "Restart!" (warm reboot) shortcut (all Windows 95/98 releases):
>C:\WINDOWS\RUNDLL.EXE C:\WINDOWS\SYSTEM\USER.EXE,ExitWindowsExec
>Note that you canNOT use RUNDLL32.EXE for this last command with Win98/98 SE because
>the GUI does NOT support this 32-bit DLL API redirect from the command line, and
>after all USER.EXE is a "plain" 16-bit executable. :(
>
>
>For the Windows complete (cold) "Reboot!" shortcut (Windows 98/98 SE only):
>C:\WINDOWS\RUNDLL32.EXE C:\WINDOWS\SYSTEM\SHELL32.DLL,SHExitWindowsEx 2
>
>Jim-What is the difference between the (warm) and (cold) reboot?
>
>Courtsey of Fork_Boy
>
>
>
[Reply or follow-up to this message]
|
re: Question about 'Restart Windows without Restarting your Computer'
Wednesday, February 5, 2003 at 9:32 am Posted by iain
(1 messages posted)
exitwindowsexec
[Reply or follow-up to this message]
|
re: Question about 'Restart Windows without Restarting your Computer'
Saturday, March 8, 2003 at 6:48 am Posted by gaurav
(1 messages posted)
rundll32.exe user.exe,ExitWindows [Fast Shutdown of Windows]
rundll32.exe user.exe,ExitWindowsExec [Restart Windows]
Happy to help.
[Reply or follow-up to this message]
|
re: Question about 'Restart Windows without Restarting your Computer'
Saturday, November 1, 2003 at 3:39 am Posted by Mike Rieder
(1 messages posted)
To use the same shortcut to restart windows, all you have to do is add something
to the shortcut that you had to shut down the computer:
c:\windows\rundll.exe user.exe,exitwindowsexec
Give it a try. It works like a charm.
On Wednesday, November 27, 2002 at 1:03 am, Aleksander wrote:
>I have a question about Restart
>Windows without Restarting your Computer:
>
>Hello all,
>
>This restarting batch file works pretty well on my computer, the only problem is
>that I can't use hotkeys with.
>
[Reply or follow-up to this message]
|
re: Question about 'Restart Windows without Restarting your Computer'
Saturday, December 27, 2003 at 9:57 pm Posted by Mike
(2 messages posted)
Make a batch file (text file with .bat extention) with the following command in it:
exit
Now right click on the file's icon and go to Properties > Program tab > Advanced
button. Uncheck the first 2 items, check the third, and uncheck the fourth. Leave
the rest as is. What this will do is exit to dos mode, and as you all know typing
"exit" from dos will bring you back to windows, and thats what the batch file does.
(Note: This is primarily for Windows 98)
[Reply or follow-up to this message]
|
Tip: Use one of the [Reply or follow-up to this message] links above to add a message to this thread
|
Return to the Windows 98 Discussion Forum
|
|
|
|