Bob: You CAN use launch to run EXE files and parameters, I do it with a text editing program and pass the filename for it to open as a parameter. You didn't say what exactly happens so I assume you just see nothing going on?

One simple thing to check is the path of your EXE, is it in the directory where your database resides? Perhaps there is trouble finding the EXE file. If you launch without parameters what happens? Does the EXE run?

Another thing you might do is setup a simple batch file such as:
rem TEST.BAT with parameters
@echo off
echo beginning of test
echo %1
echo %2
echo %3
echo %4
echo %5
echo end of test
pause

Use the batch file name in place of the EXE in your launch and it will display what parameters are getting passed to the batch file which might help you find out if one of the parameters is not getting passed as you expect (like the quotes).


On 4/13/2011 1:36 PM, [email protected] wrote:

My day to ask questions! I need to launch an external program with parameters. Here is my code:

set var vLaunch = 'HTTPGET.exe'
set var vParameters = '-0 "Test.dat" -r -S "*SRA" 192.168.0.83:1000'
set var vLaunch = (.vLaunch & '|' & .vParameters & '|W')

Launch .vLaunch

It does not work.  Are the double quotes allowed in the parameters?

Any other thoughts?

Thanks again,

-Bob





Reply via email to