Jump to content
Sign in to follow this  
DietCoke

Trouble with Run... command

Recommended Posts

DietCoke

I'm trying to trigger an installer to run via AutoIt, but am having trouble. When not using AutoIt, this command would be done via Start > Run...:

\\servername\frontend\setup\sapsetup.exe /p:"DEV"

In my script I've tried a number of ways, but nothing has worked thus far. Here's what I think is closest to it:

Run("\\servername\frontend\setup\sapsetup.exe /p:""DEV""")

Any clues? I'm almost out of hair to pull out.

Share this post


Link to post
Share on other sites
herewasplato

$ShowMe = '\\servername\frontend\setup\sapsetup.exe /p:"DEV"'
MsgBox(0, "", $ShowMe)
Run($ShowMe)


[size="1"][font="Arial"].[u].[/u][/font][/size]

Share this post


Link to post
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
Sign in to follow this  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.