I am executing a autoit script when autoit is installed in the system by using the following code
objProcess = New System.Diagnostics.Process()
objProcess.StartInfo.Arguments = "abc"
objProcess.StartInfo.FileName = "Z:\Scripts\test.au3"
objProcess.Start()
But I need to do same by giving a path to a unzipped files instead of installing it on system. Any idea how can I do this.
e.g My autoit path where I extracted files are z:\Software\autoit3.exe and my scripts path is “Z:\Scripts\test.au3”.
You can compile your script files with the included Au2Exe compiler. This will turn your .au3 files into .exe files and they can be run without needing to install AutoIt on the computer first.