Pablik Posted February 8, 2011 Share Posted February 8, 2011 Hello Can run exe with variable parameters ?? : $1 = 5 $2 = 4 ShellExecute("program.exe","$1 $2") This dont work ;( Link to comment Share on other sites More sharing options...
hannes08 Posted February 8, 2011 Share 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] Link to comment Share on other sites More sharing options...
Pablik Posted February 8, 2011 Author Share Posted February 8, 2011 work thx Link to comment Share on other sites More sharing options...
UEZ Posted February 8, 2011 Share 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!¯\_(ツ)_/¯ ٩(●̮̮̃•̃)۶ ٩(-̮̮̃-̃)۶ૐ Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now