Jump to content
Sign in to follow this  
Det

launch script with parametrs

Recommended Posts

Det

Hi all.

How to obtain the parameters, defined in the startup script

example c:\test.exe /a /b /c

Share this post


Link to post
Share on other sites
Mat

$cmdLine[n] where n is the param number

alternatively use $cmdLineRaw.

eg:

Script.exe \a \b \c

$cmdLineRaw = "\a \b \c"

$cmdLine[1] = "\a"

$cmdLine[2] = "\b"

$cmdLine[3] = "\c"

:D its all in the helpfile under using autoit > Command line Parameters.

MDiesel

Share this post


Link to post
Share on other sites
Det
:D Very-very thanks, were not immediately noticed in the docs

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  

×