fjork_duf 0 Posted January 13, 2005 I looked through the docs and help, but didn't come up with an answer. (I figure I probably missed it) Anyway. I am looking to convert a script to an exe (that's the easy part) However I need to have the exe accept command line parameters to it. What is the mechanism autoit has for taking command line arguments? Is there some sort of equivalent of ARGV?? Share this post Link to post Share on other sites
CyberSlug 6 Posted January 13, 2005 Hmm, that is hard to find in the help file. I know it's under "AutoIt > Using AutoIt > Running Scripts" but only cause I know where to look. The following code prints the command line arguments: $numArgs = $CmdLine[0] For $i = 1 to $numArgs MsgBox(4096, "Arg#" & $i, $CmdLine[$i]) Next Use Mozilla | Take a look at My Disorganized AutoIt stuff | Very very old: AutoBuilder 11 Jan 2005 prototype I need to update my sig! Share this post Link to post Share on other sites