Surfer
Surfer

Reputation: 41

AutoIt Script to run .exe file

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?

Upvotes: 3

Views: 24239

Answers (2)

Ripon Al Wasim
Ripon Al Wasim

Reputation: 37756

You can do by using a variable as below:

Local $exeLocation = "C:\LCR 12\stu.exe"
Run($exeLocation)

Upvotes: 2

Jos van Egmond
Jos van Egmond

Reputation: 2360

Like this:

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

Hope this is what you were after.

Upvotes: 7

Related Questions