Bob,

 

Try running it again from R prompt, but set your quotes to”

 

SET QUOTES=NULL

SET QUOTES=”

LAUNCH   xxxxxxxxxxxxxx (whatever your string is)

SET QUOTES=NULL

SET QUOTES=’

 

The * shouldn’t matter since it is in the double quotes.

 

Steve

 

Steve Vellella

Office: 520-498-2256

Cell: 520-250-6498

From: [email protected] [mailto:[email protected]] On Behalf Of 
[email protected]
Sent: Wednesday, April 13, 2011 2:48 PM
To: RBASE-L Mailing List
Subject: [RBASE-L] - RE: Launch Question

 

1) It does not work at the R> either.  I see the program briefly flash up with 
the list of valid parameters.

Similar to when you are at a dos prompt and type the old  PROGRAM.EXE /?  and 
it would show all the available parameters.  

 

2) I tried the & but no luck.

 

I can run the exact code at a C:> command prompt and it works as expected.  So 
I know my parameters

are correct.  The trick is getting them passed properly.  (Paths etc. are all 
correct as well)   I suspect the

double quotes or the asterisk is causing the problem.

 

Thanks,

-Bob





----- Original Message -----
From: "Steve Vellella" <[email protected]>
To: "RBASE-L Mailing List" <[email protected]>
Sent: Wednesday, April 13, 2011 4:26:55 PM
Subject: [RBASE-L] - RE: Launch Question

Bob,

 

Two things:

 

1)      Have you tried using the launch command from the r prompt like your 
code is written out “LAUNCH HTTPGET.EXE -0 “Test.dat” –r –S “*SRA” 
192.168.0.83:1000|W”

2)      Have you tried using & “Launch &vlaunch”

 

Steve

 

Steve Vellella

Office: 520-498-2256

Cell: 520-250-6498

From: [email protected] [mailto:[email protected]] On Behalf Of 
[email protected]
Sent: Wednesday, April 13, 2011 1:37 PM
To: RBASE-L Mailing List
Subject: [RBASE-L] - Launch Question

 

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