Pablik 0 Posted February 8, 2011 Hello Can run exe with variable parameters ?? : $1 = 5 $2 = 4 ShellExecute("program.exe","$1 $2") This dont work ;( Share this post Link to post Share on other sites
hannes08 39 Posted February 8, 2011 Hi 6219030, actually your giving your Program two parameters. First is "$1" second is "$2". Try changing to: $1 & " " & $2 Regards, Hannes Regards,Hannes[spoiler]If you can't convince them, confuse them![/spoiler] Share this post Link to post Share on other sites
UEZ 1,278 Posted February 8, 2011 Try this: $p0 = "127.0.0.1" $p1 = " -n 20" $p2 = " -l 1024" ShellExecute("ping.exe", $p0 & $p1 & $p2) Leave blanks between the parameters! 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!¯\_(ツ)_/¯ ٩(●̮̮̃•̃)۶ ٩(-̮̮̃-̃)۶ૐ Share this post Link to post Share on other sites