🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.msdos.programmer
Article #3978

Re: minor problem with COPY command

#3978
From: Doug Dougherty
Date: Tue, 18 Dec 1990 19:52
15 lines
1075 bytes
swh@hpcupt1.cup.hp.com (Steve Harrold) writes:

>>>> Has anyone patched command.com to *stay* in binary mode *all* the time?
>----------

>Please don't.  Else how will you concatenate ASCII files that each have
>a Ctrl-Z at the end?

Use an explicit /A switch, that's how.

It boils down to which should be the default.  For most people, living
in the 90's, the default should be binary.

The real solution is not to use the DOS copy command with anything other
than plain vanilla syntax unless you give it an explicit mode switch.
Technical Details
Message-ID: <valley.661549967@gsbsun>
Path: arc1-ca.pugleaf.net!utzoo!attcan!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!zaphod.mps.ohio-state.edu!casbah.acns.nwu.edu!accuvax.nwu.edu!midway!valley
References: <31600012@hpcvra.cv.hp.com.CV.HP.COM> <51040003@hpcupt1.cup.hp.com>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!zaphod.mps.ohio-state.edu!casbah.acns.nwu.edu!accuvax.nwu.edu!midway!valley
From: valley@uchicago (Doug Dougherty)
Newsgroups: comp.os.msdos.programmer
Subject: Re: minor problem with COPY command
Message-ID: <valley.661549967@gsbsun>
Date: 18 Dec 90 19:52:47 GMT
References: <31600012@hpcvra.cv.hp.com.CV.HP.COM> <51040003@hpcupt1.cup.hp.com>
Sender: news@midway.uchicago.edu (News Administrator)
Organization: University of Chicago
Lines: 15