Sign in to follow this  
Followers 0
xain

ShellExecute( ....... please help

4 posts in this topic

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

Share this post


Link to post
Share on other sites



For more than one parameter in ShellExecute you seperate different parameters with a space. You can see the parameter argument as a parameters argument.

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

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.

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  
Followers 0