Jump to content
Sign in to follow this  

Run .exe with variable parameters

Recommended Posts

Hi 6219030,

actually your giving your Program two parameters. First is "$1" second is "$2".

Try changing to: $1 & " " & $2




Regards,Hannes[spoiler]If you can't convince them, confuse them![/spoiler]

Share this post

Link to post
Share on other sites

Try this:

$p0 = ""
$p1 = " -n 20"
$p2 = " -l 1024"
ShellExecute("ping.exe",  $p0 & $p1 & $p2)

Leave blanks between the parameters!



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  

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Create New...