I'm not Scott, but I took a quick look at his article, and it looks like the number of carets has nothing to do with the number of parms -- instead, it is determined by the number of times the & has to be "interpreted" by the bat file. If once, you use
one caret (^&); if twice, you theoretically need two carets, but since the second caret has to get past the first "interpretation", you really need three carets (^^^& will be interpreted to ^&); if three times, you'll need four more, or seven carets
(^^^^^^^& -> ^^^& -> ^&). if you need n carets for a given number of interpretations, you'll need to add n+1 if you add one more interpretation (one each for the carets you want to be preserved after the first interpretation, plus one for the original
ampersand).

At least, that's how I read it. HTH - good luck!

Midrange Systems Technical Discussion <midrange-l@xxxxxxxxxxxx> writes:
Mike
Thanks for the response. I'm not really sure that this is an option at
this point. We do have zend installed on our development machine, but
not on our production machine. We have not done a whole lot with zend
and php, so I'm not sure we will go down that road right now(though I'm
getting more apt to try by the minute)

I did come across this thread
http://forums.systeminetwork.com/isnetforums/showthread.php?t=45747
Scott K. talks about using carets to get by the problem with the & in
the dos batch file.
I copied what he used and it works, however I have an extra parm(you
wouldn't think it would be this difficult to figure out) and can't
figure out the proper use of the ^ for all parms. .

Scott, if you see this, could you explain how to determine the number of
^ for each parm. Or point me somewhere I can read about this. It seems
simple, I'm just not hitting the correct combination.

Thanks

Mike


Mike Naughton
Senior Programmer/Analyst
Judd Wire, Inc.
124 Turnpike Road
Turners Falls, MA 01376
413-676-3144
Internal: x 444
mnaughton@xxxxxxxxxxxx
****************************************
NOTICE: This e-mail and any files transmitted with it are confidential and solely for the use of the intended recipient. If you are not the intended recipient or the person responsible for delivering to the intended recipient, be advised that any use is
strictly prohibited. If you have received this e-mail in error, please notify us immediately by replying to it and then delete it from your computer.


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

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.