Parsing text file into a separate file (s)

Discussion forum for all Windows batch related topics.

Moderator: DosItHelp

Post Reply
Message
Author
dh20
Posts: 1
Joined: 09 Dec 2014 18:02

Parsing text file into a separate file (s)

#1 Post by dh20 » 09 Dec 2014 18:13

I'm interested in having a txt file parsed from word_A to word_B and the output sent to a new file ( new_file_1.txt)... Each time word_A and word_B are found within that original txt file the output is then pushed to new_file_2.txt +N... and this continues

My goal is to extract txt between two xml tags and store the output into individual files...

thanks... I should mention the more detailed your response/help the better as I'm a novice.

foxidrive
Expert
Posts: 6031
Joined: 10 Feb 2012 02:20

Re: Parsing text file into a separate file (s)

#2 Post by foxidrive » 09 Dec 2014 19:45

dh20 wrote:I should mention the more detailed your response/help the better as I'm a novice.


The same thing goes for your question.

See here: viewtopic.php?f=3&t=6108

ShadowThief
Expert
Posts: 1167
Joined: 06 Sep 2013 21:28
Location: Virginia, United States

Re: Parsing text file into a separate file (s)

#3 Post by ShadowThief » 10 Dec 2014 04:33

foxidrive wrote:http://www.dostips.com/forum/viewtopic.php?f=3&t=6108

This should really be stickied.

Squashman
Expert
Posts: 4488
Joined: 23 Dec 2011 13:59

Re: Parsing text file into a separate file (s)

#4 Post by Squashman » 10 Dec 2014 07:42

ShadowThief wrote:
foxidrive wrote:http://www.dostips.com/forum/viewtopic.php?f=3&t=6108

This should really be stickied.

Yes. I asked the site admin if we could do that. Site Moderators don't have the authority to do it.

Post Reply