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

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
Reply-To: Cygwin List <cygwin AT cygwin DOT com>
Message-Id: <6.1.0.6.0.20040721215755.03387f10@pop.prospeed.net>
X-Sender:
Date: Wed, 21 Jul 2004 22:01:18 -0400
To: zzapper <david AT tvis DOT co DOT uk>, cygwin AT cygwin DOT com
From: Larry Hall <lh-no-personal-replies-please AT cygwin DOT com>
Subject: Re: How to delete rogue nul files
In-Reply-To: <65btf0146rhs3cv5io36oid3nm42k09una@4ax.com>
References: <gd5tf09ne640a4hbd1gqracolb3u45jks7 AT 4ax DOT com> <NUTMEG41vTRA4qFGAzO000009ca AT NUTMEG DOT CAM DOT ARTIMI DOT COM> <35atf01b6fdevp0faov9lfri78firrk86j AT 4ax DOT com> <6 DOT 1 DOT 0 DOT 6 DOT 0 DOT 20040721132749 DOT 0338fc98 AT pop DOT prospeed DOT net> <65btf0146rhs3cv5io36oid3nm42k09una AT 4ax DOT com>
Mime-Version: 1.0

At 01:50 PM 7/21/2004, you 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??


See documentation for CreateFile().

<http://msdn.microsoft.com/library/default.asp?url=/library/en-us/fileio/base/deletefile.asp>

You can use '.' in place of '?'.  There's probably a better pointer out
there but that's the best one I can find quickly.



--
Larry Hall                              http://www.rfk.com
RFK Partners, Inc.                      (508) 893-9779 - RFK Office
838 Washington Street                   (508) 893-9889 - FAX
Holliston, MA 01746                     


--
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