Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.
Search for a line in a text file
Name: Priyanka.madhu Date: June 4, 2009 at 04:56:22 Pacific OS: Windows XP Subcategory: Batch
Comment:
Hi,
I need make a batch file that would search for the line "(0 rows affected)" from a text file, if this line is found it should exit the script, else it should carry on with the rest of the script. My text file has lots of white spaces and other junk values, mainly seperators like ----------. Am new at this kinda coding, any help is really appreciated. Regards, Priyanka
Summary: Hello, I need to delete multiple lines in multiple text files. EX: Lines Text 1 Test 2 Test 3 Test 4 Test 5 Begin So anything above line 5 (i.e. begi...
Summary: Hi, I have a text file that has hundreds of lines of text. I need to read all the lines in the text file and then switch the 2 lines around. So i have Text A and Text B in this text file called peter...