Jump to content

Recommended Posts

Posted

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

Posted

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>

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
  • Recently Browsing   0 members

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