JandETech Posted January 28, 2012 Share Posted January 28, 2012 Hello, Does the @ComSpec command replace the following for running command line programs?: Run("RunDll32.exe shell32.dll,Control_RunDLL wuaucpl.cpl,,1") and is @ComSpec universal for Win XP, Vista, Win 7? Thanks for any input Link to comment Share on other sites More sharing options...
sleepydvdr Posted January 28, 2012 Share Posted January 28, 2012 I believe @ComSpec works on Win7, but I can't say 100% for sure. Here are two ways to start the control panel you listed: RunWait(@COMSPEC & " /c Start control wuaucpl.cpl") or ShellExecute("control", "wuaucpl.cpl") #include <ByteMe.au3> Link to comment Share on other sites More sharing options...
JandETech Posted January 28, 2012 Author Share Posted January 28, 2012 Thanks for the quick reply. I'll give it a shot 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