OK, time for humble pie. My previous example is wrong. Here is corrected form:
code:

ver | find /i "Version 5.00"
If NOT errorLevel 1 goto Found
GoTo Done
:Found
Echo Windows 2000 DOS Ver 5.00
one


I forgot that "IF ERRORLEVEL 0" actually means "IF ERRORLEVEL > 0".

Darn, losing what little credibility I may have.

_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.