Go Back   PCMech Forums > Help & Discussion > Software Discussion & Support

Need Some Help? Type Your Keywords Here:

Reply
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
Old 04-10-2009, 11:06 PM   #1
Member (2 bit)
 
Join Date: Apr 2009
Posts: 2
Question Program(s) to Convert DAT to TXT and Merge TXT/DAT Files

Hello all,

I have a bunch of DAT files with data loose in them (as DAT files are a very widely used container file). I can see the text that I want in Notepad, but there are hundreds of these files and I would like them all in one nice TXT or DAT file (if they are one huge DAT file, I can copy and paste it into a TXT file, I just don't wont to do it for each and every one). These are NOT Video DAT files (many programs merge these video files into one AVI). They are actually old text messages that I took off of my phone and I would like them all smooshed into one nice organized file. If anyone knows of a program that can do this, or some quick easy code to control Notepad to doing it with some good old-fashioned automated copying and pasting, that would be great!

Thanks in Advance,
~rTP
~rTP is offline   Reply With Quote
Old 04-11-2009, 05:16 AM   #2
Member (9 bit)
 
Join Date: Feb 2005
Posts: 392
Quote:
Originally Posted by ~rTP View Post
Hello all,

I have a bunch of DAT files with data loose in them (as DAT files are a very widely used container file). I can see the text that I want in Notepad, but there are hundreds of these files and I would like them all in one nice TXT or DAT file (if they are one huge DAT file, I can copy and paste it into a TXT file, I just don't wont to do it for each and every one). These are NOT Video DAT files (many programs merge these video files into one AVI). They are actually old text messages that I took off of my phone and I would like them all smooshed into one nice organized file. If anyone knows of a program that can do this, or some quick easy code to control Notepad to doing it with some good old-fashioned automated copying and pasting, that would be great!

Thanks in Advance,
~rTP

easy as pie:
open a DOS window and type:

copy *.dat new_file.txt


now all the contents of the "dat" files are concated into a new file call: "new_file.txt" or whatever you choose to call it....
you can then edit it with wordpad if it is larger than 64Kbytes; use notepad if it smaller.
__________________
words to live by:
others don't know, I know.
others know, I know more.
others know more, I excel.
one shouldnt read this far; above, is meant as an encouragement, translated from a Chinese Proverb.
"He who angers you conquers you." : Elizabeth Kenny
alfie2 is offline   Reply With Quote
Old 04-11-2009, 12:19 PM   #3
Member (2 bit)
 
Join Date: Apr 2009
Posts: 2
Thanks a ton! I knew there had to be some quickie code to do it.
~rTP is offline   Reply With Quote
Reply

Bookmarks

Still Need Help? Type Your Keywords Here:


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 09:43 PM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.
SEO by vBSEO 3.6.0 PL2