Computing.Net > Forums > Programming > NT batch file to delete lines

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.

NT batch file to delete lines

Reply to Message Icon

Name: mossy
Date: April 20, 2009 at 12:42:25 Pacific
OS: NT
Subcategory: Batch
Comment:

How would i write a batch file that would open certain text files and remove lines inside these files e.g. lines that start with "2003" up to lines that start with "2007"

thanks



Sponsored Link
Ads by Google

Response Number 1
Name: Mechanix2Go
Date: April 20, 2009 at 14:24:06 Pacific
Reply:

I would help to know the version of NT.


=====================================
If at first you don't succeed, you're about average.

M2


0

Response Number 2
Name: mossy
Date: April 20, 2009 at 23:57:47 Pacific
Reply:

Of course, sorry, its NT 4.0


0

Response Number 3
Name: Mechanix2Go
Date: April 21, 2009 at 00:09:56 Pacific
Reply:

Post a few sample lines.


=====================================
If at first you don't succeed, you're about average.

M2


0

Response Number 4
Name: mossy
Date: April 21, 2009 at 00:13:02 Pacific
Reply:

@ECHO

yeah i get stuck right after that


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More


installed software and ot... how to get VS flexgrid Re...



Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Programming Forum Home


Sponsored links

Ads by Google


Results for: NT batch file to delete lines

Batch File To Delete Line www.computing.net/answers/programming/batch-file-to-delete-line/15539.html

Batch file to delete files in a dir www.computing.net/answers/programming/batch-file-to-delete-files-in-a-dir/14599.html

batch file to delete www.computing.net/answers/programming/batch-file-to-delete/15614.html