>>It appears that the LAUNCH command syntax passes only one parameter.<<
 
I don't think that's necessarily true.  This works and has multiple parameters:
 
launch 'f:\rbfiles\acrobat\acrobat.exe| /p /h f:\rbfiles\webwinddirection.pdf'
 
I do remember having some trouble when the spacing wasn't just right - there should be no space between the exe and the pipe symbol, and one space between the pipe and the first slash for the first parameter.
-------------- Original message from [EMAIL PROTECTED]: --------------

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 -----
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