Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!cs.utexas.edu!tut.cis.ohio-state.edu!ucsd!nosc!cod!baird From: baird@cod.NOSC.MIL (John M. Baird) Newsgroups: comp.sys.ibm.pc Subject: Re: append " >> " is not working, why? Message-ID: <1638@cod.NOSC.MIL> Date: 15 Sep 89 15:07:16 GMT References: <2553@pur-phy> Organization: Naval Ocean Systems Center, San Diego Lines: 18 From article <2553@pur-phy>, by qz@maxwell.physics.purdue.edu (Qin Zhao): > > Hi, I recently got some problem when I tried to concatenate two files. > I gave command: > > type file2 >> file1 > If instead you had tried COPY /A file1+file2 newfile you would have had better luck. file2 did get added to file 1, AFTER one or more existing Ctrl-Zs. COPY /A will not put Ctrl-Zs in the output file, so you should be OK. When you used TYPE to look at the resulting file, it stopped at the first Ctrl-Z. Try using COPY file1 CON /B instead, and the entire file (with the embedded Ctrl-Zs) will be displayed on the console. John Baird, Naval Ocean Systems Center, San Diego, CA