On Mon, Feb 03, 2003 at 11:12:34AM +0700, Jason Smith wrote: | On Monday 03 February 2003 09:12 am, chris wrote: | > type file1 file2 ... filen > unsplitfile | | I know in DOS you could say "copy file1 + file2 + ... destfile" and it would | behave like cat. I thought it was still in XP, but I'm not sure.
You can do it like this, assuming that your small files are named big-file.001 and you want a big file called big-file. Copy /b "big-file.001" "big-file" /y > nul Copy /b "big-file" + "big-file.002" /y > nul Copy /b "big-file" + "big-file.003" /y > nul Copy /b "big-file" + "big-file.004" /y > nul Copy /b "big-file" + "big-file.005" /y > nul Copy /b "big-file" + "big-file.006" /y > nul Copy /b "big-file" + "big-file.007" /y > nul Copy /b "big-file" + "big-file.008" /y > nul Copy /b "big-file" + "big-file.009" /y > nul etc. Note that you need the /b flag for binary files. If you do this a lot, you could make a small perl (or whatever) script to create these commands as a .bat file, and include it with the files. You could probably do it like you do in *nix -- cat big-file.[0-9][0-9][0-9] > big-file in the bash shell from cygwin. If you're stuck in Windows, cygwin is *wonderful* -- I highly recommend it. http://www.cygwin.com/. -- Doug McLaren, [EMAIL PROTECTED] In theory, there is no difference between theory and practice. In practice, there is. _______________________________________________ Siglinux mailing list [EMAIL PROTECTED] http://www.utacm.org/mailman/listinfo/siglinux
