From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Thread: fd705,4fa3cf2c993211a2 X-Google-Thread: 108717,4fa3cf2c993211a2 X-Google-Thread: 1164f8,4fa3cf2c993211a2 X-Google-Thread: 1094ba,4fa3cf2c993211a2 X-Google-Thread: 10adee,4fa3cf2c993211a2 X-Google-Attributes: gidfd705,gid108717,gid1164f8,gid1094ba,gid10adee,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!local01.nntp.dca.giganews.com!nntp.clear.net.nz!news.clear.net.nz.POSTED!not-for-mail NNTP-Posting-Date: Wed, 14 Dec 2005 01:39:31 -0600 Date: Wed, 14 Dec 2005 20:39:27 +1300 From: Brian Boutel Organization: X User-Agent: Mozilla Thunderbird 1.0.7 (Macintosh/20050923) X-Accept-Language: en-us, en MIME-Version: 1.0 Newsgroups: alt.folklore.computers,comp.programming,comp.sys.dec,comp.lang.fortran,soc.culture.nordic Subject: Re: The Helsinki Code References: <1134362645.916762.143340@g43g2000cwa.googlegroups.com> <1372.207T2978T8186159@kltpzyxm.invalid> <1406.208T760T4834077@kltpzyxm.invalid> <439FA2AC.4060601@prodigy.net> <439fb4d7$1@clear.net.nz> <439FBD6A.7020507@prodigy.net> In-Reply-To: <439FBD6A.7020507@prodigy.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Original-NNTP-Posting-Host: 203-97-108-79.cable.telstraclear.net Message-ID: <439fcc30$1@clear.net.nz> X-Original-Trace: 14 Dec 2005 20:39:28 +1300, 203-97-108-79.cable.telstraclear.net NNTP-Posting-Host: 203.97.37.6 X-Trace: sv3-HeYkOaOmqiqFKchE7hQYbUxfykY3MprrkEr5OW7TMOWrK5Uo4G7+emPWbDRb1fIA3sauQgCaLZ1Jvh6!TU3QNuthGM06nOIZqch9fDdr5WB6nnCEv0v5C3URxKi4mVGG99kvetB0AQ== X-Complaints-To: Complaints to abuse@clear.net.nz X-DMCA-Complaints-To: Complaints to abuse@clear.net.nz X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly X-Postfilter: 1.3.32 Xref: g2news1.google.com alt.folklore.computers:20690 comp.programming:13263 comp.sys.dec:1450 comp.lang.fortran:11622 soc.culture.nordic:8506 CJT wrote: > Brian Boutel wrote: > >> CJT wrote: >> >>> Charlie Gibbs wrote: >>> >>>> In article , >>>> jwright@comcast.net (Joe Wright) writes: >>>> >>>> >>>>> Charlie Gibbs wrote: >>>>> >>>>> >>>>>> Microsoft probably already holds the patent. The COPY command in >>>>>> COMMAND.COM and CMD.EXE will not copy a zero-length file; this is >>>>>> to discourage piracy. >>>>> >>>>> >>>>> >>>>> >>>>> That's not true Charlie. There is no exception made for zero-length >>>>> files. Certainly not here under XP Pro. I happened to have a 0-length >>>>> file called babel. At my cmd prompt 'copy babel zero' results in a new >>>>> empty file named zero. >>>> >>>> >>>> >>>> >>>> >>>> Hot damn. So they finally fixed it! No version of MS-DOS would copy >>>> a zero-length file, and neither does my Win98 box. But I just tried >>>> it on a Win2k box and it worked. >>> >>> >>> >>> >>> xcopy on Win98se seems to do it fine >>> >> >> Yes, but Xcopy and Copy are not the same command. The DOS v5 manual >> (the only one I still have) explicity states that Copy will not copy >> zero-length files, and advises the use of Xcopy. >> >> >> --brian >> >> > Right, but how does that square with the claim that the capability was > left out of copy in order to discourage piracy? Requiring a pirate to > put an "x" in front of a command doesn't seem much of a hurdle. > Disclaimer: I'm no DOS guru. Xcopy will not copy hidden or system files, which may temporarily inhibit the pirate. Copy will not recursively copy subdirectories. I don't know what Copy will do if it is told to copy a set of files and finds an empty file or a directory - will it skip or just stop? Anyway, I only jumped in here to point out that the behaviour of Xcopy implies not very much about the behaviour of Copy, not to worry about the security features of the thankfully long dead. --brian -- "What's life? Life's easy. A quirk of matter. Nature's way of keeping meat fresh."