Jump to content

Run vs. Start Run


 Share

Recommended Posts

I'm working on a program to guide users through a change of a sound setting on their computers, the problem I'm having is if I open the sound properties with a compiled autoit EXE one of the tabs at the top of the properties window are missing.  

Run("control mmsys.cpl sounds")
Run(@ComSpec & " /c " & 'control mmsys.cpl sounds',"", @SW_HIDE)
RunAs("student", @ComputerName, "", $RUN_LOGON_NOPROFILE, "control mmsys.cpl sounds", "")
ShellExecute("test.bat","","C:\Users\Student\temp")

I've tried all these different options and none of them will open the properties the correct way.  

Any help would be awesome, thanks in advance.

 

Link to comment
Share on other sites

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
 Share

  • Recently Browsing   0 members

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