Jump to content

Recommended Posts

Posted

I have created an exe via AutoIT that basically copies some files and runs a .reg file. During the running of the .reg file two message boxes come up for which I use WinWaitActive and then pass an {enter}. I have created a "wrapper" to run the .exe as a domain admin. I would like to run the exe in silent mode so that the user will not se the two registry message boxes. Here is the runas line from my wrapper (DiskCleanUp.exe is the exe I created using AutoIT).

RunAsWait($szRunAsUser, $szRunAsDom, $szRunAsPass, 1, $szInstallFilesSource & 'DiskCleanUp.exe')

Thanks,

Evergreen

Posted

If you want to use Command lines, Autoit interprets that commands passed to it through the pre-defined $CMDLine array.

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...