delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/07/21/14:12:09

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
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
Message-ID: <F76C9B2DA2FC4C4CA0A18E288BBCBCF708217BEE@nihexchange24.nih.gov>
From: "Buchbinder, Barry (NIH/NIAID)" <BBuchbinder AT niaid DOT nih DOT gov>
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
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/

- Raw text -


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