When using the following code to check about the content of a text file (test.txt),
I get a blank screen and to quit by cntrl+C.
@echo off
findstr ^/ test.txt > nul
if %errorlevel%==0 (
echo Found!
) else (
echo No matches found
)
pause
exit
It works fine for ^\, ^| and ^?
Any idea about the problem?
Thanks,
Thomas