This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: How to delete rogue nul files


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]