Page 1 of 1

launch executable with command line params

Posted: Sun May 02, 2010 4:45 pm
by churchken
Hi, all,

Using the "launch" command within a stack, the following "batch" file can be started with this content:
HistData /AUTO "C:sym.dat"

"HistData" is the name of an executable program that requires the subsequent command line parameters in order to correctly work. Launching the .bat file with this content works fine.

However, I'd like to avoid the batch file use, and directly launch the executable program within my stack. Is there a way to pass the "/Auto "C:sym.dat" information to the launched executable?

Thanks in advance for any ideas.

Re: launch executable with command line params

Posted: Mon May 03, 2010 12:12 am
by Mark
Ken,

The following might work:

Code: Select all

put shell("HistData /AUTO" && quote & "C:sym.dat" & quote) into myResult
Best regards,

Mark

Re: launch executable with command line params

Posted: Mon May 03, 2010 12:49 pm
by churchken
Thanks, Mark, I'll give it a try.