xain Posted December 8, 2009 Share Posted December 8, 2009 I'm wanting to use ShellExecute with more than one parameter...what do I need to do to seperate them? Code is something like this... ;------------------------------------------------ $string = GUICtrlRead($EditText) $stringu = GUICtrlRead($EditTextu) $stringp = GUICtrlRead($EditTextp) ShellExecute("Jump.exe", $string) ;------------------------------------------------ Now with one identifier i'm fine....they won't seperate with commas or obviously the second won't be identifier but working directory. With a space between I just get errors. Could somebody confirm the correct syntax to declare more than one identifier, I'm probably being retarded but just can't find anything described in help files. Many thanks in advance Xain Link to comment Share on other sites More sharing options...
jvanegmond Posted December 8, 2009 Share Posted December 8, 2009 For more than one parameter in ShellExecute you seperate different parameters with a space. You can see the parameter argument as a parameters argument. github.com/jvanegmond Link to comment Share on other sites More sharing options...
whim Posted December 8, 2009 Share Posted December 8, 2009 How you pass more than 1 param to Jump.exe obviously depends on how Jump.exe likes them, but i suppose you want to know how to string them together. For the moment, supposing it takes space delimited params: ShellExecute("Jump.exe", $string & " " & $stringu & " " & $stringp) let me know if that's not what you meant ... whim Link to comment Share on other sites More sharing options...
xain Posted December 8, 2009 Author Share Posted December 8, 2009 How you pass more than 1 param to Jump.exe obviously depends on how Jump.exe likes them, but i suppose you want to know how to string them together. For the moment, supposing it takes space delimited params: ShellExecute("Jump.exe", $string & " " & $stringu & " " & $stringp) let me know if that's not what you meant ... whim It is, exactly what I meant....thank you very very much indeed. Really appreciated. 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