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.
+/- 1 line from a text file.
Name: syskplim Date: November 14, 2003 at 14:09:19 Pacific OS: ME CPU/Ram: P3_800/256
Comment:
i need to create a batch to add and delete a line in a text(not 1st line and last line) without EXT command.
This is my text file:
--------TOF-------- echo This is line 1 echo This is line 2 echo This is line 4 echo This is line 4 echo This is line 5 --------EOF--------
i need to add line3 and delete 1 of line4.
i know only ECHO Line6 >><filename> to add last line.
Summary: Is there a way by which we can extract few lines from a text file based on a condition. E.g A file has 2000 lines and we would like to search for word "internet". Once this word is found, we need 10 l...
Summary: hi, i try to write a batch file that have to run under dos 6.22 (thus, no for loops ;o)) I try to set the first line from a text file in to a variable but all i see is a example for under nt4 or w2000...
Summary: Can a batch file be made to copy or move certain lines from a text file to a different file? I know I can use test.bat >>text1.bat, but I don't need all of the information I am retrieving. ...