We need to build a web address to pass to STRPCCMD.   We can build "start
http://server/csesc/csoe?cmd=CI&amppid=CV_KIT&ampuid=ADMIN&ampqty=2";. 

The values prefixed with ampersands are not CL variables, but text we have
inserted as shown above.

Under debug we can see that the URL string is complete, but that doesn't
seem to be what the browser receives:  it always end up with
"http://server/csesc/csoe?cmd=CI";.  We can substitute percentage signs for
the ampersands and the whole string gets passed to the browser.  Having any
ampersand causes the URL to be cut off at that point.   This appears to
happen with the start command, as from a command window with the same string
I get:
'amppid' is not recognized as an internal or external command, operable
program or batch file.
'ampuid' is not recognized as an internal or external command, operable
program or batch file.
'ampqty' is not recognized as an internal or external command, operable
program or batch file.

The URL typed into a web browser works fine, which leads me to believe that
it isn't a problem with escaping the ampersand (and using either &#38 or
&amp doesn't seem to resolve the problem), but the start command not being
dumb enough to pass on the string without trying to parse it into separate
commands at each ampersand.  

Anybody deal with this before?



As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.