Sign in to follow this  
Followers 0
prince albert

run command

3 posts in this topic

#1 ·  Posted (edited)

FileInstall("C:\documents and settings\administrator\desktop\123.exe", "C:\321.exe")

this installs the file i want just fine.. then it dont run, when this code is read

Run("C:\321.exe")

this way, i get no error, but nothing runs

whats the proper syntax for run, or whatever lol

i try with out the dir, and i get error that it cant find .exe

i try with dir after the file, and same thing.....

im reading the help file, but yah.. i cant understand what im doing wrong..

Edited by prince albert

Share this post


Link to post
Share on other sites



Run("C:\321.exe")

this way, i get no error, but nothing runs

Try Run("C:\321.exe", "C:\", @SW_MAXIMIZE).

I had the same problem.

It seems that you have to use Run/RunWait command with all parameters.

kami

Share this post


Link to post
Share on other sites

This should do it...The second parameter is the working directory and the AutoIT3 engine pastes it infront of the first parameter.

Run("321.exe", "C:\", @SW_MAXIMIZE)

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  
Followers 0