Thanks very much. Managed it using
findstr /v/c:"search term" input.txt > "C:\output.txt"
Search found 2 matches
- 10 Jun 2010 01:37
- Forum: DOS Batch Forum
- Topic: Remove lines from txt file using script
- Replies: 2
- Views: 6231
- 09 Jun 2010 14:22
- Forum: DOS Batch Forum
- Topic: Remove lines from txt file using script
- Replies: 2
- Views: 6231
Remove lines from txt file using script
Hi folks, I've got several config files which I'm looking to archive using an automated tool which compares it to the most recent revision and archives if there are changes. However, several of the files have a line in them which contains a date and therefore the tool will always archive them. I'm t...