Microsoft
Software
Hardware
Network
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
Posted via EE Mobile
Random Solutions
Database - Quiz Structure
How to find files for specific date and copy to other directories
How to count based on a condition in MySQL
doc for code review
File formatting with AWK unix command??
My SQL queries take ages to cancel.
SAN comparison Equallogic PS4000X versus EMC NX4
How set Access 2003 to be sure that a user name can login just one time
Formatting field in datagrid template
PC to TV screen