4

Is there any way to execute my AutoIt script (.au3 file) from command line?

2 Answers 2

10

You could compile your AutoIt script and run the .exe from the command line.

Or, you can run the script like this:

AutoIt3.exe myscript.au3

Sign up to request clarification or add additional context in comments.

2 Comments

I have script named "helloworld.au3" on D:\Ripon. I went to that location and ran the command: AutoIt3.exe helloworld.au3 But an error was occurred as below: D:\Ripon>AutoIt3.exe helloworld.au3 'AutoIt3.exe' is not recognized as an internal or external command, operable program or batch file. D:\Ripon> Is there any more installation/configuration of AutoIt?
You need to specify the full path to AutoIt3.exe. For example, C:\Apps\AutoIt\AutoIt3.exe helloworld.au3.
3

The default installation of autoit makes .au3 files runnable from the command line by just using

c:>\script.au3

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.