CJG Posted July 29, 2008 Share Posted July 29, 2008 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 More sharing options...
Mobius Posted July 29, 2008 Share Posted July 29, 2008 (edited) Try Run("Control.exe sysdm.cpl") Or Run("rundll32.exe Shell32.dll,Control_RunDLL sysdm.cpl") Ed :: soz Edited July 29, 2008 by Mobius Link to comment Share on other sites More sharing options...
BrettF Posted July 29, 2008 Share Posted July 29, 2008 TryRun("Control.exe sysdm.cpl")Control is the parent program for cpl files.OrRun("rundll32.exe Shell32.dll,Control_RunDLL sysdm.cpl")OrShellExecute("sysdm.cpl") ShellExecute didn't work for me the others do though.... Vist my blog!UDFs: Opens The Default Mail Client | _LoginBox | Convert Reg to AU3 | BASS.au3 (BASS.dll) (Includes various BASS Libraries) | MultiLang.au3 (Multi-Language GUIs!)Example Scripts: Computer Info Telnet Server | "Secure" HTTP Server (Based on Manadar's Server)Software: AAMP- Advanced AutoIt Media Player | WorldCam | AYTU - Youtube Uploader Tutorials: Learning to Script with AutoIt V3Projects (Hardware + AutoIt): ArduinoUseful Links: AutoIt 1-2-3 | The AutoIt Downloads Section: | SciTE4AutoIt3 Full Version! Link to comment Share on other sites More sharing options...
CJG Posted July 29, 2008 Author Share Posted July 29, 2008 Thanks, all worked ok. Link to comment Share on other sites More sharing options...
Mobius Posted July 29, 2008 Share Posted July 29, 2008 the others do though.... all worked ok.Funny, Didn't know that! Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now