Launch URL to run Windows program using command line switches
Magicgate Software - Skip Kimpel
skip at magicgate.com
Mon Jun 30 16:21:50 EDT 2014
Got it working. Ended up with this to get it working:
launch "c:/Program Files (x86)/MyProgram/file.exe /P
""E&"myfile.txt""E
On Mon, Jun 30, 2014 at 3:07 PM, Magicgate Software - Skip Kimpel <
skip at magicgate.com> wrote:
> Hello LC'ers,
>
> I need to launch a function within my LC application. How would I
> properly format a launch URL statement that launches a file with command
> line options? For instance, what I need to launch is:
>
> C:\Program Files (x86)\MyProgram\file.exe /P "myfile.txt"
>
> Every way I try to format the statement it does not work and get a "can't
> open file."
>
> Here is what I am currently trying but failing miserably with:
> launch url "file:c:\Program Files (x86)\MyProgram\file.exe /P
> ""E&"myfile.txt""E
>
> Your help is always appreciated!
>
> SKIP
>
>
>
More information about the use-livecode
mailing list