Computing.Net > Forums > Programming > Batch file to parse data

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.

Batch file to parse data

Reply to Message Icon

Name: jerardfjay
Date: August 19, 2005 at 08:35:16 Pacific
OS: XP
CPU/Ram: Pent 4 2.GHz/512 MB
Comment:

I have a data file as follows

2000 08/18/2005 15:09:18 EDT 0508186076
2000 08/18/2005 15:08:12 EDT 0508185874

I have two other files called t1.txt and t2.txt
I need to be able to create another text file which takes each data element from above and sandwhiches between the text in t1.txt and t2.txt. Essentially like type t1.txt 2000 t2.txt and write the output to t3.txt file. This should be repeated for every data element mentioned above. For instance the next write to t3.txt should be t1.txt 08/18/2005 t2.txt and finally
t1.txt 0508185874 t2.txt.

Can someone help me write the same in Batch. Thanks.

Jerardfjay



Sponsored Link
Ads by Google

Response Number 1
Name: Mechanix2Go
Date: August 20, 2005 at 09:10:46 Pacific
Reply:

I'm not clear om what you want to do.

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


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: Batch file to parse data

Batch file to parse log www.computing.net/answers/programming/batch-file-to-parse-log/16414.html

Batch file to extract data from ini www.computing.net/answers/programming/batch-file-to-extract-data-from-ini/12995.html

Batch File to Parse and Write back www.computing.net/answers/programming/batch-file-to-parse-and-write-back/18101.html