Jump to content
Sign in to follow this  
Unc3nZureD

run with parameters

Recommended Posts

Unc3nZureD

Hi, I would like to run my program with parameters. For example:

ShellExecute("C:\asdasd\Start.exe", "/help")

Ok, it's not problem, but is that possible to let the target file read what parameter is given to it?

For example:

ShellExecute("C:\asdasd\Start.exe", "/help")

Start.exe:

$param = ..........

If $Param = /help or help Then

asd

asd

EndIF

I Hope I'm understandable.

Edited by Unc3nZureD

Share this post


Link to post
Share on other sites
UEZ

Have a look to the $cmdline variable in the help file.

Br,

UEZ

  • Like 1

Please don't send me any personal message and ask for support! I will not reply!

Selection of finest graphical examples at Codepen.io

The own fart smells best!
Her 'sikim hıyar' diyene bir avuç tuz alıp koşma!
¯\_(ツ)_/¯  ٩(●̮̮̃•̃)۶ ٩(-̮̮̃-̃)۶ૐ

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.