X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=-0.2 required=5.0	tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE
X-Spam-Check-By: sourceware.org
MIME-Version: 1.0
In-Reply-To: <AANLkTimHXZMy9boaA6vC-sxymJAdp5R6h7K-YoW2m-Ed@mail.gmail.com>
References: <SNT127-DS50C9CC1178F8DAD9D033B81970@phx.gbl>	<AANLkTimmcvC9M80L-4af5inM-A8RVHTYLs6U-J8NhRx8@mail.gmail.com>	<SNT127-DS105DF4E0ACCC1CB39109F681970@phx.gbl>	<AANLkTimHXZMy9boaA6vC-sxymJAdp5R6h7K-YoW2m-Ed@mail.gmail.com>
Date: Fri, 13 Aug 2010 11:11:00 +1200
Message-ID: <AANLkTikQYiyx_R3EV1f1wANkVg3A06+5nDJH-WUAtsUU@mail.gmail.com>
Subject: Re: CYGWIN UNIX FILE PATH LEAVES FILES UNDELETABLE THROUGH WIN7
From: Dave Cottlehuber <dave@muse.net.nz>
To: cygwin@cygwin.com
Content-Type: text/plain; charset=ISO-8859-1
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

> After the deletions, only one directory and file were unable to be deleted,
> the file named " nul " in the directory " dev ".

This is well known (if you're an old timer - think cp/m, then DOS)  as
it's a reserved word. CON: NUL: LPT!: are all examples of this. The
solution is easy:

:: for files
del \\.\c:\cygwin\dev\nul
:: for dirs
rd \\.\c:\cygwin\dev\con

more info @ http://support.microsoft.com/kb/120716

cheers, Dave

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

