Jump to content

System Properties


 Share

Recommended Posts

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 ?

Link to comment
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
Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...