Well, I have at least one instance where I have 2 parameters passed. I suggest 
that you take a careful look at the syntax for the program that you are 
launching. Specifically spaces, commas and quotes but also be sure that your 
command works with each parameter separately if possible. Also, maybe reverse 
the sequence of the parameters if that could still make sense. (Perhaps even 
try it anyway - you never know and you can worry about why it works "wrongly" 
later if you're lucky!)

Good luck,
Regards,
Alastair.


  ----- Original Message ----- 
  From: [EMAIL PROTECTED] 
  To: RBASE-L Mailing List 
  Sent: Friday, July 18, 2008 2:06 PM
  Subject: [RBASE-L] - Re: Launch command


  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
No virus found in this incoming message.
Checked by AVG - http://www.avg.com 
Version: 8.0.138 / Virus Database: 270.5.1/1559 - Release Date: 17/07/2008 18:08

Reply via email to