autosc Posted January 11, 2007 Posted January 11, 2007 my autoi exe from command line : myexe.exe /mycalc first second third How can i return @error , if the user enters more than four parameters ? does RunErrorsFatal helps ? what is the best way to run , command line exe, from Autoit ? Run , _Rundos , ???
Wooltown Posted January 11, 2007 Posted January 11, 2007 The question is are you testing for if the AutoIT program can accept maximum 4 paramers ? Then this should work If $CmdLine[0] > 4 Then Exit (9) EndIf
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