boat_58 Posted November 17, 2020 Share Posted November 17, 2020 (edited) I want to create a gui with 4 buttons in it. Each button is a link that when click, will call a script that i have wrote. The problem i am having is that i only know how to call an exe file, that is inside the same folder as the master script. Below is an example of the code i am using to call the exe file. This seems to only work when that exe file is in the same folder as the script. Case $Script_Example Script_Example() Func Script_Example() Run("Script_Example.exe") EndFunc ; Can someone help me with how i can call an exe file, that is in a different folder location? Thanks in advance Edited November 17, 2020 by boat_58 Link to comment Share on other sites More sharing options...
Musashi Posted November 17, 2020 Share Posted November 17, 2020 3 minutes ago, boat_58 said: Can someone help me with how i can call an exe file, that is in a different location? Simply enter the full path. "In the beginning the Universe was created. This has made a lot of people very angry and been widely regarded as a bad move." Link to comment Share on other sites More sharing options...
boat_58 Posted November 17, 2020 Author Share Posted November 17, 2020 3 minutes ago, Musashi said: Simply enter the full path. Awesome, i am not sure why i didn't think to try it before. I just tried the below and it worked Case $Script_Example Script_Example() Func Script_Example() Run("E:\External Drive\Backup\AutoIt\AutoIt\Scripts\Examples\Script_Example.exe") EndFunc ; Thank you so much Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now