Batch file FIND command giving error
<p>Following is the FIND command I am using in my Batch program:</p>

<pre><code>FIND "Msg" "%CUR_DIR%\testoutput.txt" &gt; NUL 
if %errorlevel% 0 (
echo "inside if"
"%CUR_DIR%\ErrorCheck.exe" "%CUR_DIR%\testoutput.txt" "Msg" &gt;&gt;%LOG_FILE%
SET RET_VALUE=1
)
</code></pre>

<p>The file testoutput.txt contains some numbers and a few records with 0. I am getting the following error on running the FIND command:
0 is unexpected at this time. </p>

<p>Please help how to remove the error.</p>