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: References: Date: Fri, 13 Aug 2010 11:11:00 +1200 Message-ID: Subject: Re: CYGWIN UNIX FILE PATH LEAVES FILES UNDELETABLE THROUGH WIN7 From: Dave Cottlehuber To: cygwin AT cygwin DOT com Content-Type: text/plain; charset=ISO-8859-1 X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , 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