DOS command to combine or merge text files (Users)
Hi again!
I've got a box-full of old floppy disks containing hundreds of small text files. They range in size between about 8 and 25 KB. (I think that perhaps those files are so small because I got into the habit of trying to keep files at about 15 K back when I was using WordStar in my CP/M days).
I'd like to combine all of the files on each disk into a single file that will fit onto a single floppy.
Hundreds of these files contain dated log entries so I'd like to be able to keep the text of the files in chronological order within the larger file.
The task of maintaining the chronology of the log entries should be fairly simple, because all of the file names on each disk are identical, except for the three character extension, like this:
logfile.001
logfile.002
logfile.003
logfile.etc...
So I'm casting about for a DOS command, commands, or ideas for a batch file, that would read those files, one-by-one, in chronlogical order, into one large text file.
Any suggestions?
---
Will in Seattle
a.k.a. "Clueless"
Running MS-DOS 6.21
Complete thread:
- DOS command to combine or merge text files - CluelessInSeattl, 26.08.2012, 19:13 (Users)
![Open in board view [Board]](img/board_d.gif)
![Open in mix view [Mix]](img/mix_d.gif)
- DOS command to combine or merge text files - ron, 27.08.2012, 00:32
- DOS command to combine or merge text files - Doug, 27.08.2012, 07:01
- DOS command to combine or merge text files - ron, 27.08.2012, 08:14
- DOS command to combine or merge text files - bretjohn, 27.08.2012, 17:40
- DOS command to combine or merge text files - Rugxulo, 27.08.2012, 20:44
- DOS command to combine or merge text files - Arjay, 27.08.2012, 21:29
- DOS command to combine or merge text files - CluelessInSeattl, 28.08.2012, 18:12
- DOS command to combine or merge text files - Arjay, 28.08.2012, 22:53
- DOS command to combine or merge text files - CluelessInSeattl, 28.08.2012, 18:12
- DOS command to combine or merge text files - Arjay, 27.08.2012, 21:29
- DOS command to combine or merge text files - Rugxulo, 27.08.2012, 20:44
- DOS command to combine or merge text files - Doug, 27.08.2012, 07:01
- DOS command to combine or merge text files - ron, 27.08.2012, 00:32
Mix view