Subj : Merging files... To : Laurent Jumet From : Jasen Betts Date : Thu Nov 29 2001 09:33 pm Hi Laurent. 27-Nov-01 16:44:46, Laurent Jumet wrote to All LJ> From: 1st_NAME.Lst_NAME@advalvas.be (Laurent Jumet) LJ> Hello ! I had a big problem I couldn't find out...:-) LJ> I wanted to merge files, let's say file01.txt file02.txt LJ> ....file10.txt in one only file bigfile.txt LJ> Best way is LJ> COPY /B *.txt bigfile.txt LJ> Providing the destination is not a directory, all files are LJ> appended. LJ> But...:-) This command doesn't sort the files; they are merged LJ> according to their order on the HardDisk, and 04 comes first, next LJ> is 10, next 01, and so on. LJ> I didn't find a convenient way to make that merging operation; how LJ> would you do yourself? echos>bigfile.txt dir /b *.txt | for x in @con do copy /b bigfile.txt+%%x -=> Bye <=- --- * Origin: Only adults have difficulty with childproof caps. (3:640/531.42) .