Automationuser Posted February 26, 2014 Share Posted February 26, 2014 Hi everyone, I am trying to run an autoit script from cmd. I used the following command. Autoit3.exe RunMe.au3. it throws an error saying "autoit3.exe' is not recognized as an internal or external command error". Need help on this. Basically I am trying to run a batch file with the above command to execute my test scripts. Link to comment Share on other sites More sharing options...
FireFox Posted February 26, 2014 Share Posted February 26, 2014 Hi, You need to set the PATH variable for the autoit executable if you want to execute it from any directory. So your issue is not related to autoit. Br, FireFox. Link to comment Share on other sites More sharing options...
Automationuser Posted February 26, 2014 Author Share Posted February 26, 2014 Hi FireFox, How to set the path variable in cmd?? Can you please give lil more info on this?? Link to comment Share on other sites More sharing options...
jguinch Posted February 26, 2014 Share Posted February 26, 2014 The SET command does the job : set path=c:Program Files (x86)AutoIt3;%PATH% Spoiler Network configuration UDF, _DirGetSizeByExtension, _UninstallList Firefox ConfigurationArray multi-dimensions, Printer Management UDF Link to comment Share on other sites More sharing options...
FireFox Posted February 26, 2014 Share Posted February 26, 2014 http://lmgtfy.com/?q=set+variable+path (I know jguinch already answered, just to show you google exists) Link to comment Share on other sites More sharing options...
jguinch Posted February 26, 2014 Share Posted February 26, 2014 you're right Firefox, I should have let Automationuser look a little ... Spoiler Network configuration UDF, _DirGetSizeByExtension, _UninstallList Firefox ConfigurationArray multi-dimensions, Printer Management UDF Link to comment Share on other sites More sharing options...
Automationuser Posted February 26, 2014 Author Share Posted February 26, 2014 thanks jginch, FireFox I will google it before posting these kinds of queries in future. Thanks a lot. 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