P Pablo Jul 19, 2003 #1 Can I creat a shortcut Icon for shutdown for winxp. If yes what file do i browse for. Pablo
K Kelly Jul 20, 2003 #2 Hi Pablo, %windir%\System32\rundll32.exe user32.dll,LockWorkStation C:\Windows\System32\rundll32.exe user32.dll,LockWorkStation. Once done, browse to shell32.dll and choose the shutdown icon. /xp_tweaks.htm Top 10 Frequently Asked Questions and Answers http://www.kellys-korner-xp.com/top10faqs.htm
Hi Pablo, %windir%\System32\rundll32.exe user32.dll,LockWorkStation C:\Windows\System32\rundll32.exe user32.dll,LockWorkStation. Once done, browse to shell32.dll and choose the shutdown icon. /xp_tweaks.htm Top 10 Frequently Asked Questions and Answers http://www.kellys-korner-xp.com/top10faqs.htm
H Homer J. Simpson Jul 21, 2003 #3 Kelly said: Hi Pablo, %windir%\System32\rundll32.exe user32.dll,LockWorkStation C:\Windows\System32\rundll32.exe user32.dll,LockWorkStation. Once done, browse to shell32.dll and choose the shutdown icon. Click to expand... LockWorkStation() does just that, and does not *shut down* the machine... Oh, wait, "Desktop shutdown"...that's rather ambiguous. :-/ Pablo, if you want to shut down (eg, "power off") the machine, look up ExitWindowsEx(), at http://msdn.microsoft.com/library/default.asp?url=/library/en-us/sysinfo/base/exitwindowsex.asp. You can call it with rundll32 the same way as LockWorkStation. ExitWindowsEx() is also in user32.dll. You will also need to look up the constant values in order to pass them to rundll32.exe. If anyone wants to elaborate, please feel free to jump in.
Kelly said: Hi Pablo, %windir%\System32\rundll32.exe user32.dll,LockWorkStation C:\Windows\System32\rundll32.exe user32.dll,LockWorkStation. Once done, browse to shell32.dll and choose the shutdown icon. Click to expand... LockWorkStation() does just that, and does not *shut down* the machine... Oh, wait, "Desktop shutdown"...that's rather ambiguous. :-/ Pablo, if you want to shut down (eg, "power off") the machine, look up ExitWindowsEx(), at http://msdn.microsoft.com/library/default.asp?url=/library/en-us/sysinfo/base/exitwindowsex.asp. You can call it with rundll32 the same way as LockWorkStation. ExitWindowsEx() is also in user32.dll. You will also need to look up the constant values in order to pass them to rundll32.exe. If anyone wants to elaborate, please feel free to jump in.