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
Lenovo R52 dead, won't power on
Debugging an ASP.NET web application?
windows7
What's a good backup? Using Backup Exec 11d, 12.5, and 2010 (different sites)
Window Server 2003
Using one keyboard and mouse with two computers at the same time
How to restrict access to specific folders using variable "UserRoleID"?
Count in a Query
Windows XP + CVS on shared Drive + Configure NetBean + local repository
0x0000007E(0x C0000005,0X B976BEE9,0X BA4F7154,0X BA4F6E50)