Jump to content

Recommended Posts

Posted

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 ?

Posted (edited)

Try

Run("Control.exe sysdm.cpl")

Or

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

Ed :: soz

:P

Edited by Mobius

wtfpl-badge-1.png

Posted

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

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
×
×
  • Create New...