Article View: comp.os.msdos.programmer
Article #1209Re: *************** HELP in DOS 5.0 ******************
From: Jon Freivald
Date: Tue, 01 Sep 1992 23:54
Date: Tue, 01 Sep 1992 23:54
29 lines
1586 bytes
1586 bytes
cholette@JSP.UMontreal.CA (Cholette Martin) writes:
>
> Hello, I need to concatenate to text files together in DOS 5.0 , I have looke
> 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
>
> Please someone help me, why can't I figure it out???
The DOS equivilent of that would be:
copy a.txt + b.txt c.txt
-or-
type a.txt > c.txt
type b.txt >> c.txt
There are also a few PD versions of cat for DOS running around that will
do just what you want... I've got source for one around here somewhere
that's ready to go with TurboC if you're interested.
=============================================================================
Jon Freivald ( jaflrn!jaf@uunet.UU.NET )
Nothing is impossible for the man who doesn't have to do it.
=============================================================================
Technical Details
Message-ID:
<Pk6FqB8w164w@jaflrn.UUCP>Path:
arc1-ca.pugleaf.net!sparky!uunet!utoday!jaflrn!jafReferences:
<1992Aug30.013239.21315@cc.umontreal.ca>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!utoday!jaflrn!jaf From: Jon Freivald <jaf@jaflrn.UUCP> Newsgroups: comp.os.msdos.programmer Subject: Re: *************** HELP in DOS 5.0 ****************** Message-ID: <Pk6FqB8w164w@jaflrn.UUCP> Date: Tue, 01 Sep 92 19:54:00 EDT References: <1992Aug30.013239.21315@cc.umontreal.ca> Organization: The Wizzard's Cave, East Meadow, NY Lines: 29