JandETech Posted January 28, 2012 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
sleepydvdr Posted January 28, 2012 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>
JandETech Posted January 28, 2012 Author Posted January 28, 2012 Thanks for the quick reply. I'll give it a shot
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