Mr.X Posted August 18, 2005 Share Posted August 18, 2005 Hi ! Does any1 know how to delete in mass a lot of lines (from line number to line number [blocks]) into numerous files in the same path at the same time ? I know Perl could do it, but if it exists another mean (easier) under Win XP. Thx Link to comment Share on other sites More sharing options...
Robert Posted August 20, 2005 Share Posted August 20, 2005 can you explain a bit more clearly what you mean? Link to comment Share on other sites More sharing options...
Mr.X Posted August 20, 2005 Author Share Posted August 20, 2005 Delete all the lines except the headers into 1822 text files *.txt. The headers 're the 8 first lines, I want to keep them & delete the rest. Link to comment Share on other sites More sharing options...
Madman Posted August 20, 2005 Share Posted August 20, 2005 (edited) Delete all the lines except the headers into 1822 text files *.txt. The headers 're the 8 first lines, I want to keep them & delete the rest.<{POST_SNAPBACK}> That can be done quite easily in VB.NET and/or PHP. Just open the file, and fputs each line into a new file. Edited August 20, 2005 by Madman Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now