Subj : Re: Merging files... To : Laurent Jumet From : Martin Whittaker Date : Thu Dec 06 2001 03:54 am From: "Martin Whittaker" Laurent, your example does not work in Win98SE DOS window. What OS are you using? "01", "02" etc do not change to "1", "2", either. Martin "Laurent Jumet" <1st_NAME.Lst_NAME@advalvas.be> wrote in message news:GED3C0E31EE@1st_NAME.Lst_NAME.advalvas.be... > Hello ! > > "E. S. (Steve) Fabian" wrote: > > EF> Minor syntax problem: it overwrites the target multiple times > > EF> for %e in ( 01 02 03 04 05 06 07 08 09 10 ) copy/b > EF> bigfile.txt+file%e.txt > > EF> would operate correctly. > > May be it wouldn't, because "01", "02",... will be changed to "1", "2", > and will not match the files names. > Best way is > > dir /B *.bin | for %i IN (@CON) DO copy /B bigfile.bin+%i > > Laurent Jumet - Point de Chat, LiŠge, BELGIUM > KeyID: 0xCFAF704C > [Restore address to laurent.jumet for e-mail reply.] --- BBBS/NT v4.01 Flag-2 * Origin: Mach2 Systems (1:342/3) .