delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/08/12/19:11:11

X-Recipient: archive-cygwin AT delorie DOT 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 AT phx DOT gbl> <AANLkTimmcvC9M80L-4af5inM-A8RVHTYLs6U-J8NhRx8 AT mail DOT gmail DOT com> <SNT127-DS105DF4E0ACCC1CB39109F681970 AT phx DOT gbl> <AANLkTimHXZMy9boaA6vC-sxymJAdp5R6h7K-YoW2m-Ed AT mail DOT gmail DOT 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 AT muse DOT net DOT nz>
To: cygwin AT cygwin DOT com
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT 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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019