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 Reply-To: Cygwin List 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 , cygwin AT cygwin DOT com From: Larry Hall Subject: Re: How to delete rogue nul files In-Reply-To: <65btf0146rhs3cv5io36oid3nm42k09una@4ax.com> References: <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 Content-Type: text/plain; charset="us-ascii" 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(). 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/