Search found 2 matches

by treefrog
12 May 2012 12:36
Forum: DOS Batch Forum
Topic: How to delete line of code 2nd time offending string found
Replies: 3
Views: 2581

Re: How to delete line of code 2nd time offending string fou

Hi aGerman, Dude! That is way cool! It's perfect! I just wish I could understand what you did and how. Is there a place or book I can find out the syntax for the methods used? Even the method used to SET the variables is new to me. And you did it and replied in 2 hours. I am stunned. Thank you!!!!! ...
by treefrog
12 May 2012 02:39
Forum: DOS Batch Forum
Topic: How to delete line of code 2nd time offending string found
Replies: 3
Views: 2581

How to delete line of code 2nd time offending string found

Hi, I'm a newbie batch scripter and need some help. I have a file that needs to be searched for a string, which might take part and/or all of a line, and when that string is detected the *second time*, that line instance needs to be deleted; note that the line cannot be blank, but must be deleted. I...