Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

AutoIt Script to run .exe file

Tags:

exe

autoit

I want to run an application which is located in the following directory:

C:\LCR 12\stu.exe

With AutoIt, what would be the code to run the above stu.exe file?

like image 434
Surfer Avatar asked Feb 22 '26 17:02

Surfer


2 Answers

Like this:

Run("C:\LCR 12\stu.exe")

Hope this is what you were after.

like image 123
Jos van Egmond Avatar answered Feb 27 '26 01:02

Jos van Egmond


You can do by using a variable as below:

Local $exeLocation = "C:\LCR 12\stu.exe"
Run($exeLocation)
like image 28
Ripon Al Wasim Avatar answered Feb 27 '26 02:02

Ripon Al Wasim



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!