I need to write batch script which will compare text string "AAA8888,131676,2000-09-23 00:00:00.0,2009-09-23 07:01:45.0 " from 1.txt with
text string like "Critical 09/22/2000 01:28:12 AAA8888_XXXXX Some text " .
Fields to be compared are in BOLD.
I'm doing this by : "for /F " eol=N tokens=4* delims=_ " %%i in (2.txt) DO FIND "%%i" 1.txt
If the string wasn't found do some action.
How can I do this?
Thanks in advance!