Sign in to follow this  
Followers 0
Unc3nZureD

run with parameters

3 posts in this topic

#1 ·  Posted (edited)

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



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

Br,

UEZ

1 person likes this

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

Oh, great, thanks a lot.

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