Jump to content

ShellExecute( ....... please help


xain
 Share

Recommended Posts

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

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

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

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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...