home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.misc
- Path: sparky!uunet!dcatlas!joet
- From: joet@dcatlas.dot.gov (Joe Trott)
- Subject: Re: *****************HELP neede in DOS 5.0******************
- Message-ID: <1992Aug31.152147.18002@dcatlas.dot.gov>
- Organization: U.S Dept. of Transportation
- References: <1992Aug30.013336.21376@cc.umontreal.ca>
- Date: Mon, 31 Aug 1992 15:21:47 GMT
- Lines: 26
-
- cholette@JSP.UMontreal.CA (Cholette Martin) writes:
-
-
- >Hello, I need to concatenate to text files together in DOS 5.0 , I have looked
- >in many manuals but I can't seem to find the answer. It seems straight
- >forward enough yet I am unable to find the answer. I need to append to text
- >files into a single text file a.txt + b.txt -> c.txt
-
- >The equivalent of what I need in UNIX is:
-
- > cat a.txt b.txt > c.txt
-
- The DOS equivalent is:
-
- copy a.txt+b.txt c.txt
-
- If you want breaks between them, create a file (e.g. ff.txt) containing a
- form feed (Ctrl-L <=> CHR(12)) and/or whatever other separators you want,
- and use:
-
- copy a.txt+ff.txt+b.txt c.txt
-
- Of course, in both examples, full directory specs are allowed.
-
- -JTT
-
-