I think it has been shown that there is nothing magical about quotes in
batch file statements (internals). Note: I never used quotes much
anyway, in batch if statements - I always used the
if %1X==X ...
approach, so thus I haven't tested much of this and am only going on
what I've heard.
Anyway, the following will accomplish what you want, provided you have a
DOS grep somewhere in your file system.
echo big arbitrary string| grep "string to match" >nul
if errorlevel 1 goto not_got_it
Anyway, that's what I do...
************************************************************************
Please don't drink the battery acid, it tastes bad and will hurt you.
Also, don't bite the tyres, especially when the bike is moving.
(Our lawyers made us put this in this manual.)
- py...@quads.uchicago.edu, who is still costing the net
hundreds, if not thousands, of dollars, every time he posts -
************************************************************************