Jump to content

Recommended Posts

Posted

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

Posted

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

Posted

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.

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
  • Recently Browsing   0 members

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