Question : Delete rows in each txt file that matches full or partially. Whose names are mentioned in another txt file.

Hi,

Delete rows in each txt file that matches full or partially. Whose names are mentioned in another txt file.
I have names as
Microsoft
Microsoft visio
and so on...

if the name matches in any part of the line in each txt file then delete the row in the txt file.

Regards
Sharath

Answer : Delete rows in each txt file that matches full or partially. Whose names are mentioned in another txt file.

Try:
CD c:\yourfiles
For %%i in (*.txt) do findstr /G:c:\exclusions.txt /V /I %%i > c:\otherfolder\%%i
Random Solutions  
 
programming4us programming4us