Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
From: Brian Boutel <fake@fake>
Subject: Re: The Helsinki Code
Date: Wed, 14 Dec 2005 20:39:27 +1300	[thread overview]
Message-ID: <439fcc30$1@clear.net.nz> (raw)
In-Reply-To: <439FBD6A.7020507@prodigy.net>

CJT wrote:
> Brian Boutel wrote:
> 
>> CJT wrote:
>>
>>> Charlie Gibbs wrote:
>>>
>>>> In article <yrOdnXcU5YGesgPenZ2dnUVZ_tCdnZ2d@comcast.com>,
>>>> 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."


  reply	other threads:[~2005-12-14  7:39 UTC|newest]

Thread overview: 88+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-12-12  3:27 The Helsinki Code dunric
2005-12-12  4:44 ` slebetman@yahoo.com
2005-12-12  5:02   ` Gib Bogle
2005-12-12  5:29   ` Richard Heathfield
2005-12-12  5:42     ` glen herrmannsfeldt
2005-12-12  8:02     ` Steve O'Hara-Smith
2005-12-12 14:06       ` Bernd Felsche
2005-12-12 20:36         ` Michael Roach
2005-12-12 16:28       ` Richard E Maine
2005-12-15 18:27       ` Dave Vandervies
2005-12-15 18:55         ` Michael Roach
2005-12-15 19:54         ` David Scheidt
2005-12-15 22:52         ` Steve O'Hara-Smith
2005-12-12  8:25     ` tholen
2005-12-12  5:30   ` Russell Shaw
2005-12-12  5:56     ` Jack Klein
2005-12-12 14:44     ` Malcolm Dunnett
2005-12-12 21:38       ` Charlie Gibbs
2005-12-13  2:16         ` Joe Wright
2005-12-13 16:03           ` Charlie Gibbs
2005-12-13 18:58             ` J. Anderson
2005-12-13 19:06               ` Pascal Bourguignon
2005-12-13 19:09                 ` J. Anderson
2005-12-13 20:36                   ` Charlie Gibbs
2005-12-13 21:44                     ` J. Anderson
2005-12-20 19:07                       ` H Vlems
2005-12-20 20:11                         ` J. Anderson
2005-12-20 21:35                           ` Charlie Gibbs
2005-12-20 22:17                             ` J. Anderson
2005-12-13 20:35               ` Charlie Gibbs
2005-12-13 22:55                 ` Michael Roach
2005-12-14  4:42             ` CJT
2005-12-14  5:59               ` Brian Boutel
2005-12-14  6:36                 ` CJT
2005-12-14  7:39                   ` Brian Boutel [this message]
2005-12-14  9:55                     ` Wolfgang Riedel
2005-12-14 17:08                   ` Richard E Maine
2005-12-14 21:30                     ` Willem
2005-12-14 22:04                       ` Bill Gunshannon
2005-12-14 22:46                         ` Steve O'Hara-Smith
2005-12-14 17:26                   ` Charlie Gibbs
2005-12-14 17:25               ` Charlie Gibbs
2005-12-14 18:50                 ` KR Williams
2005-12-14 14:21             ` Mika Iisakkila
2005-12-12  7:40   ` Dave Griffith
2005-12-12 10:01   ` Morten Reistad
2005-12-12 16:23   ` Gerry Quinn
2005-12-12 16:28     ` Bill Gunshannon
2005-12-12 17:21       ` CJT
2005-12-12 18:41         ` Rich Townsend
2005-12-13  8:28     ` slebetman@yahoo.com
2005-12-12  5:20 ` glen herrmannsfeldt
2005-12-12 13:55   ` Michael Metcalf
2005-12-12 22:17     ` Mitja Trampus
2005-12-12 22:34       ` James Giles
2005-12-12 23:21         ` Sc0rpi0
2005-12-13  4:19           ` Richard Heathfield
2005-12-13  9:48             ` Randy Howard
2005-12-13 15:13         ` Malcolm Dunnett
2005-12-14  0:29           ` Peter Flass
2005-12-15 19:51           ` Patrick Scheible
2005-12-12 22:41       ` Stubby
2005-12-12 23:24       ` Michael Metcalf
2005-12-13  0:58       ` John Harper
2005-12-13  6:09         ` Dennis Ritchie
2005-12-13  7:15           ` Eric Smith
2005-12-13 15:50         ` Charlie Gibbs
2005-12-14  4:34         ` CJT
2005-12-14 17:41           ` Charlie Gibbs
2005-12-14 21:27           ` John Harper
2005-12-14 22:24             ` CJT
2005-12-15  0:22           ` Peter Flass
2005-12-15  1:44             ` Arthur J. O'Dwyer
2005-12-12 23:58   ` Peter Flass
2005-12-13  5:05   ` mcalhoun
2005-12-12  7:53 ` dunric
2005-12-13  8:46   ` slebetman@yahoo.com
2005-12-12  8:31 ` David Flower
2005-12-12 22:56   ` Max
2005-12-13 22:59   ` dunric
2005-12-14  0:41     ` Sjouke Burry
2005-12-12 15:38 ` Jim
2005-12-12 17:20   ` CJT
2005-12-12 17:38     ` Alfred Falk
2005-12-12 20:00     ` Jim
2005-12-12 20:18       ` CJT
2005-12-13 19:20       ` Kevin G. Rhoads
2005-12-14 14:24         ` Roland Hutchinson
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox