View Single Post
  #5  
Old January 27th 05, 10:00 PM
Jeff Richards
external usenet poster
 
Posts: n/a
Default

C:\WINDOWS\RUNDLL32.EXE and rundll32 are the same if C:\Windows is in your
path, which it is by default.

Both Shell32.dll and users.exe have exit functions, with different names.
The Shell32.DLL version has more options. You can see the options if you
scroll down that page to the auto reboot section. It's quite common for
options to be duplicated like this - when the programmers want to add some
new functionality they can't discard the old version because too many people
are already using it, so they just add a new one. In fact, it's quite
likely that the Shell32.DLL version actually uses the user.exe version, but
does some additional things.
--
Jeff Richards
MS MVP (Windows - Shell/User)
"jane" wrote in message
...

he http://www.ez-pc.org/bd/98/tips.asp

John


Hello John,
I was just perusing when I came across your reply.
I went to the site above then compared the Restart & ShutDown
with mine; I never realised it could be coded in different ways.
Here is a comparison of my Reboot with the sites reboot::::
(when I say 'mine' , I mean what I have as a shortcut on my d/top)

mine.. C:\WINDOWS\RUNDLL32.EXE SHELL32.DLL,SHExitWindowsEx 2
sites.. rundll32 user.exe,ExitWindowsExec

My Shutdown::::::

mine.. C:\WINDOWS\RUNDLL32.EXE SHELL32.DLL,SHExitWindowsEx 1
sites... rundll32 user.exe,exitwindows

My post is just a comment, learning curve etc.
So much to know so little time.

regards Jane