Sign in to follow this  
Followers 0
CJG

System Properties

5 posts in this topic

I'm trying to call the System Properties screen from a script.

The item I need to call is SYSDM.CPL which works fine when I do a START RUN and enter it but when I place it in a script as :-

run("sysdm.cpl")

Nothing happens. Can anyone help ?

Share this post


Link to post
Share on other sites



#2 ·  Posted (edited)

Try

Run("Control.exe sysdm.cpl")

Or

Run("rundll32.exe Shell32.dll,Control_RunDLL sysdm.cpl")

Ed :: soz

:P

Edited by Mobius

Share this post


Link to post
Share on other sites

Try

Run("Control.exe sysdm.cpl")

Control is the parent program for cpl files.

Or

Run("rundll32.exe Shell32.dll,Control_RunDLL sysdm.cpl")

Or

ShellExecute("sysdm.cpl")

:P

ShellExecute didn't work for me :o the others do though.... :P

Share this post


Link to post
Share on other sites

Thanks, all worked ok.

Share this post


Link to post
Share on other sites

the others do though.... :P

all worked ok.

Funny, Didn't know that! :P

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0