Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm 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 Message-ID: From: "Buchbinder, Barry (NIH/NIAID)" To: cygwin AT cygwin DOT com Subject: RE: How to delete rogue nul files Date: Wed, 21 Jul 2004 14:11:50 -0400 MIME-Version: 1.0 Content-Type: text/plain X-IsSubscribed: yes At Wednesday, July 21, 2004 1:51 PM, zzapper wrote: > On Wed, 21 Jul 2004 13:28:30 -0400, wrote: > >> At 01:32 PM 7/21/2004, you wrote: >>> On Wed, 21 Jul 2004 18:14:45 +0100, wrote: >>>>> >>>>> I recently seem to be leaving nul files around my file system >>>>> which I cannot delete from Cyg or Win >>>>> >>>>> Hilfe mich! >>>> >>> >>>> >>>> DEL \\.\c:\somedir\nul >>>> >>>> cheers, >>>> DaveK >>> >>> no luck >>> >>> C:\inetpub\wwwdev\www.planet.com>del nul >>> The filename, directory name, or volume label syntax is incorrect. >> >> >> Use the syntax Dave suggested and you'll have better luck. > > Larry > That zeroed the file, but it's still undeletable. But what is that > wierd delete syntax?? Are you sure that they are really there? When you see them but cannot delete them in windows, are you using cmd.exe or command.com or have you tried in Windows Explorer? Do you see them in Windows Explorer? If not, you have fallen into the following pitfall. Many versions of DOS and Windows report the existence of NUL, AUX, and "other special file names" in every directory. But they are not really there. This allows C:\path> dir > nul in any directory. There is no C:\DEV in DOS/Windows to put nul/aux/etc. into. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/