Jump to content

run with parameters


Unc3nZureD
 Share

Recommended Posts

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
Link to comment
Share on other sites

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

Br,

UEZ

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!
¯\_(ツ)_/¯  ٩(●̮̮̃•̃)۶ ٩(-̮̮̃-̃)۶ૐ

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...