Chris86 Posted February 28, 2009 Share Posted February 28, 2009 (edited) How can I make my scripts support startup args?("C:\Program\Script.exe -add user password") I need args to execute an Func I tried to search for it.. Edited February 28, 2009 by Chris86 Link to comment Share on other sites More sharing options...
Authenticity Posted February 28, 2009 Share Posted February 28, 2009 If $CmdLine[0] is not greater than 0 there are no arguments, otherwise you can process them all using For $i = 1 To $CmdLine[0] ... Next Link to comment Share on other sites More sharing options...
Developers Jos Posted February 28, 2009 Developers Share Posted February 28, 2009 Its described in the Helpfile. Do a search in the helpfile for $cmdline Jos SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. 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