home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / os / msdos / programm / 8970 < prev    next >
Encoding:
Internet Message Format  |  1992-09-01  |  1.5 KB

  1. Path: sparky!uunet!utoday!jaflrn!jaf
  2. From: Jon Freivald <jaf@jaflrn.UUCP>
  3. Newsgroups: comp.os.msdos.programmer
  4. Subject: Re: *************** HELP in DOS 5.0 ******************
  5. Message-ID: <Pk6FqB8w164w@jaflrn.UUCP>
  6. Date: Tue, 01 Sep 92 19:54:00 EDT
  7. References: <1992Aug30.013239.21315@cc.umontreal.ca>
  8. Organization: The Wizzard's Cave, East Meadow, NY
  9. Lines: 29
  10.  
  11. cholette@JSP.UMontreal.CA (Cholette Martin) writes:
  12.  
  13. > Hello, I need to concatenate to text files together in DOS 5.0 , I have looke
  14. > in many manuals but I can't seem to find the answer. It seems straight
  15. > forward enough yet I am unable to find the answer. I need to append to text
  16. > files into a single text file a.txt + b.txt -> c.txt
  17. > The equivalent of what I need in UNIX is:
  18. >                         cat a.txt b.txt > c.txt
  19. > Please someone help me, why can't I figure it out???
  20.  
  21. The DOS equivilent of that would be:
  22.  
  23.                           copy a.txt + b.txt c.txt
  24.                                   -or-
  25.                           type a.txt > c.txt
  26.                           type b.txt >> c.txt
  27.  
  28. There are also a few PD versions of cat for DOS running around that will
  29. do just what you want...  I've got source for one around here somewhere
  30. that's ready to go with TurboC if you're interested.
  31.  
  32. =============================================================================
  33.            Jon Freivald ( jaflrn!jaf@uunet.UU.NET )
  34.      Nothing is impossible for the man who doesn't have to do it.
  35. =============================================================================
  36.