Skip to content
⌘ NSIS Forum Archive

Launching Display Settings & System Page

13 posts

Sailo#

Launching Display Settings & System Page

Does anybody no how to launch the System window and display properties window preferably on the settings page?
Sunjammer#
ShellExec the desk.cpl file (in system32 on WINNT)... should be in the path (to test this in Start Menu -> Run type desk.cpl and see what happens 🙂)
Sailo#
In windows 98 it doesn't work? the .cpl extension is not associated with any program or dll.

Do i need to associate it first or is there another way? On 2000 you are correct it works there.
kichik#
That's weird, because when you double click it it does open 🤪
I remember seeing once that you need to open it with some program. Let me search some and see if I can find anything useful.
Sunjammer#
Well in Win2000 the greek way the filetype is bound is :

rundll32.exe shell32.dll,Control_RunDLL %1,%*

So I guess you could try that under 9x. It's bound to be something similar involving rundll32, so if that fails try searching for rundll32.exe using Google or something.
Wyz#
On the function I found on sunjammer (Refresh Uninstall Panel) justin use "control.exe file.cpl"... What's better (if one is better than the other) ?
CU
rainwater#
Originally posted by Wyz
On the function I found on sunjammer (Refresh Uninstall Panel) justin use "control.exe file.cpl"... What's better (if one is better than the other) ?
CU
rundll32.exe shell32.dll,Control_RunDLL desk.cpl,,3

This method is better because it lets you open a certain tab. Using control.exe doesn't give you that option (not that I know of).
Wyz#
The 2 methods seems to give the same result...
You have just to choose which one you prefer 😛
Regards