Jump to content
Sign in to follow this  
Chris86

Script Start Args

Recommended Posts

Chris86

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
Authenticity

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  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.