|I have a batch file that I want for it to search a text file for a specific exact-worded string|
The string I am searching for is this:
Following the find command I want to do:
if %ERRORLEVEL% == 1 (set "STATUS=ULPS is enabled") ELSE (set "STATUS=ULPS is disabled")
The problem is, I tried the following:
find ""EnableUlps"=dword:00000000" C:\temp.txt
But it returned 21 other strings in addition to "EnableUlps"=dword:00000000.
I also tried using findstr:
findstr "\<"EnableUlps"=dword:00000000\>" C:\temp.txt
But it returned nothing.
Help is greatly appreciated.