Subj : Re: Merging files... To : Laurent Jumet From : Steve Date : Wed Nov 28 2001 07:02 am From: "E. S. (Steve) Fabian" Laurent Jumet wrote: > > Hello ! > > "Geoff May" wrote: > > GM> Under 4NT, you can use COPY MEMO1+MEMO2+MEMO3 BIGMEMO and I presume > GM> that works on 4DOS too. Check the on-line help under COPY. > > Yes, this is one way but not very convenient. > > I tryed other ways, but not very convenient. > > Basically, > > COPY /B *.txt Big.txt > > should be the basis, and must find something more to graft on it, to obtain > that *.txt should be sorted before merged. > May be something like > > DIR /B | SomethingHere > > Laurent Jumet - Point de Chat, LiŠge, BELGIUM > KeyID: 0xCFAF704C > [Restore address to laurent.jumet for e-mail reply.] If these are text files, why the binary copy? If you are running under Windows, use can use: dir /b /one >clip: >Big.txt for %f in (@clip:) type %f >>big.txt If you are not under Windows, you can use an @unique[] temporary file, possibly on a virtual (ram) disk. Unfortunately, only the DIR command has sorting built in. -- E. S. "Steve" Fabian ESFabian@BellAtlantic.net POB 1540, Cherry Hill, NJ 08034 Telephone: 856-354-1752 EMPIRE Consultants, Inc. Director, Software Development ------------------------------------------------------------------- --- BBBS/NT v4.01 Flag-2 * Origin: Mach2 Systems (1:342/3) .