Sign in to follow this  
Followers 0
tironci

change path

2 posts in this topic

hi

i am fairly new with autoit. this is my first project using autoit and i was wondering if i could get some help. i created a script that opens a program and then opens some files and saves them. at this time i am using the Run command and i give the full path to where the .exe file to open the program is. but i have another script that makes daily builds of the program and knows where the .exe is and the name of the .exe which might change over time. i was wondering if there is a way that i can get that path from the script that makes the daily builds and use it with the autoit script i have written.

thank you in advance

Share this post


Link to post
Share on other sites



@scriptdir gives you the current scripts location, this can be handed over as a command line parameter to another script, look for "Command Line Parameters" in the help file.

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