Unmatch beween two text Files

April 20, 2011 at 00:53:04
Specs: Windows XP, 2GB
Hi
Please help to get the solution. I want to display unmatch records between to text files where line contains BAOC. I want to search content of file1 in file2 where line containd BAOC.

This will be great help for me.

File1
ram
sam
tom

File2-
BAOC ram
BAOC tom
BAOC rams
BAOC tomey
BAIC sam
BATC sam


Output-
Sam


Using below batch script but does not ful filling my requirement. Please help.

@echo off & setLocal enableDELAYedeXpansion
echo Digit Recon for NAT going on......Wait
for /f "tokens=* delims= " %%a in (a.dat) do (
FINDSTR "\<%%a\>*" < b.txt > nul
if errorlevel 1 echo.%%a >>nt_Found_NAT.dat
)


See More: Unmatch beween two text Files

Report •

#1
April 21, 2011 at 10:44:22
Somebody please help me......

Report •
Related Solutions


Ask Question