Computing.Net > Forums > Programming > Extracting Text from a text file

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.

Extracting Text from a text file

Reply to Message Icon

Name: RCM7979
Date: March 4, 2009 at 18:48:42 Pacific
OS: Windows XP
Subcategory: Batch
Comment:

I have a text file that is in columns. I want to extract all the data from one of the columns and write it to another text file. A sample would be   02   mgsr41   2009/03/01   005  09   opsa32   2009/03/01   005This goes on for hundreds of lines. I want to just extract the second column and write it to a text file to look like this.mgsr41opsa32I want to do this with a batch file if possible.



Sponsored Link
Ads by Google

Response Number 1
Name: RCM7979
Date: March 4, 2009 at 18:54:34 Pacific
Reply:

My data above became mixed up. There are 4 columns of data. I have given just two lines out of hundreds. I want to just extract column two and output it to a one column text file. Thanks.


0
Reply to Message Icon

Related Posts

See More







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: Extracting Text from a text file

Extracting rows from pipe delimited file www.computing.net/answers/programming/extracting-rows-from-pipe-delimited-file/19338.html

Extract Values from a txt file www.computing.net/answers/programming/extract-values-from-a-txt-file/17728.html

Ping list of computers from a txt file www.computing.net/answers/programming/ping-list-of-computers-from-a-txt-file/19843.html