Alastair,
 Thanks for the input.  I tried that approach and was unsuccessful.  It appears 
that the
LAUNCH command syntax passes only one parameter.

I ended up dynamically writing a batch file and then used LAUNCH filename.bat.
It works OK.

Thanks again.

--
Thompson Technology Consultants 
LaPorte, IN 46350 
219-363-7441

-------------- Original message -------------- 
From: "Alastair Burr" <[EMAIL PROTECTED]> 

Try it this way:

SET VAR vLaunchProg TEXT = NULL
SET VAR vLaunchParams TEXT = NULL
SET VAR vLaunch TEXT = NULL

SET VAR vLaunchProg = '[drive]:\[path]\winscp.exe'
SET VAR vLaunchParams = '/console /script=test.txt|w'
SET VAR vLaunch = (.vLaunchProg & '|' & .vLaunchParams)

LAUNCH .vLaunch

I have never found any reason why this should work (when the obvious doesn't) 
but it always does for me.

Regards,
Alastair


----- Original Message ----- 
From: [EMAIL PROTECTED] 
To: RBASE-L Mailing List 
Sent: Thursday, July 17, 2008 6:34 PM
Subject: [RBASE-L] - Launch command


Can you pass two parameters with the launch command?
So far the below does not work.

launch winscp.exe|/console /script=test.txt|w

Thanks!
-Bob

--
Thompson Technology Consultants 
LaPorte, IN 46350 
219-363-7441

No virus found in this incoming message.
Checked by AVG - http://www.avg.com 
Version: 8.0.138 / Virus Database: 270.5.0/1557 - Release Date: 17/07/2008 05:36

Reply via email to