🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: net.wanted.sources
Article #1502

Re: Does anyone have the source for a PD cp?

#1502
From: Robert C Sanders
Date: Wed, 02 Jul 1986 07:36
30 lines
1731 bytes
In article <978@decuac.DEC.COM> avolio@decuac.DEC.COM (Frederick M. Avolio) writes:
>> Does anyone have the source code for a Public Domain cp?  I'm wanting to
>> write one for my IBM AT to compile and use under DOS, but I don't have the
>> slightest idea how to do it right.  Thanks in advance.
>
>open first file (checking for errors ... bailout if necessary)
>creat second file (checking for errors ... bailout if necessary)
>while (read a buffer from first file) is greater than 0,
>	write a buffer to second file (check for errors..)
>exit
>

Or even easier yet, under PC/MS DOS, a simple shell script of the form:

		copy %1 %2 %3 %4 %5

in a file entitled "cp.bat".  Unfortuately, you don't get all the options of
the UNIX version, but remember, you are talking about PC DOS.

Forward all replies to the net.micro.pc newgroup.

				- bob
-- 
------------
Continuing Engineering Education Telecommunications
Purdue University

"Time is a mouse that requires constant feeding..." -- me

	...!ihnp4!pur-ee!pc-ecn!sandersr
Technical Details
Message-ID: <539@ecn-pc.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!watmath!clyde!caip!seismo!gatech!akgua!akguc!mtune!mtuxo!houxm!ihnp4!inuxc!pur-ee!ecn-pc!sandersr
References: <220@killer.UUCP> <978@decuac.DEC.COM>

Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Path: arc1-ca.pugleaf.net!utzoo!watmath!clyde!caip!seismo!gatech!akgua!akguc!mtune!mtuxo!houxm!ihnp4!inuxc!pur-ee!ecn-pc!sandersr
From: sandersr@ecn-pc.UUCP (Robert C Sanders)
Newsgroups: net.wanted.sources,net.unix,net.micro.pc
Subject: Re: Does anyone have the source for a PD cp?
Message-ID: <539@ecn-pc.UUCP>
Date: Wed, 2-Jul-86 03:36:19 EDT
Article-I.D.: ecn-pc.539
Posted: Wed Jul  2 03:36:19 1986
Date-Received: Fri, 4-Jul-86 19:14:35 EDT
References: <220@killer.UUCP> <978@decuac.DEC.COM>
Reply-To: sandersr@ecn-pc.UUCP (Robert C Sanders)
Organization: Electrical Engineering Department , Purdue University
Lines: 31