Computing.Net > Forums > Programming > Extract Values from a txt 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.

Extract Values from a txt file

Reply to Message Icon

Name: Blanco
Date: February 7, 2009 at 08:56:10 Pacific
OS: Windows XP
Subcategory: Batch
Comment:

Hi there...

I need some help guys
what i am after is preferably a batch file which would extract two different values from the same line within a txt file. However on that line there is altogether 4 sets of values. So would need way of pinpointing those values only then extracting to another txt file

Any help would be most appreciated



Sponsored Link
Ads by Google

Response Number 1
Name: Razor2.3
Date: February 7, 2009 at 17:47:16 Pacific
Reply:

for /? (Read that part about FOR /F.)


0

Response Number 2
Name: Mechanix2Go
Date: February 7, 2009 at 18:30:23 Pacific
Reply:

Hard to know from that. Post the file ans describe wht parts are needed.


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

M2


0

Response Number 3
Name: blanco
Date: February 8, 2009 at 00:36:15 Pacific
Reply:

Mechanix2Go

Here is a link to the txt file, with the two sets lines i need the following values extracted from

http://www.megaupload.com/?d=P7GX6Y7B

and the values i need extracting

496,840.65 - Net Debit 107.96 - Net Debit
18,712.11 - Net Debit 2,947.96 - Net Debit

any help would be really appreciated

thanks


0

Sponsored Link
Ads by Google
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: Extract Values from a txt file

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

%var% from a txt file vbs www.computing.net/answers/programming/var-from-a-txt-file-vbs-/14365.html

searching a txt file from an array- www.computing.net/answers/programming/searching-a-txt-file-from-an-array/12047.html