Sign in to follow this  
Followers 0
Chris86

Script Start Args

3 posts in this topic

#1 ·  Posted (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 by Chris86

Share this post


Link to post
Share on other sites



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

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0