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
Creating automated monthly labels for a chart in crystal reports
Backup NAS with HP Data Protector
get value in string - Jquery based & Regular Expression
How to move a DC from one Win 2K3 Server to another via a backup method?
Using Output To in Sybase SQL IF statement
Web Application Project compiled deployment to shared hosting
Email Server Software used in conjuction with SQL Server or MySQL database
Update table basxed on results of query
How do I backup/snapshot a drive using proper parameters with rsync?
xinetd