delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/10/26/05:22:59

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
To: cygwin AT cygwin DOT com
From: Robert Schmidt <rschm AT broadpark DOT no>
Subject: Re: nul
Date: Tue, 26 Oct 2004 11:22:45 +0200
Lines: 24
Message-ID: <cll516$2o8$1@sea.gmane.org>
References: <1981E79C7C98A547B36D794FBEC5337002968191 AT moscntx1 DOT russia DOT intl DOT pepsi DOT com> <417E09CE DOT 2050005 AT schoenhaber DOT de>
Mime-Version: 1.0
X-Complaints-To: usenet AT sea DOT gmane DOT org
X-Gmane-NNTP-Posting-Host: dhcp-068-210.oslo.eur.slb.com
User-Agent: Mozilla Thunderbird 0.8 (Windows/20040913)
In-Reply-To: <417E09CE.2050005@schoenhaber.de>
X-IsSubscribed: yes

Markus Schönhaber wrote:
>> [snip]
>> nor from cygwin shell. Not a big problem, but annoying. Any ideas on 
>> how to
>> get rid of it?
>>
> Assuming you created
> C:\some\path\nul
> using
> del \\.\C:\some\path\nul
> in the Windows console might help you to get rid of it.

I think even that will fail.
The trick I ususally use is to rename it in the console, as CMD's "ren" 
seems to be more "ignorant" about nul than both mv, rm, del and even 
4NT's "ren":

[in CMD:]
ren \\.\C:\full\path\nul __crap
del __crap


Cheers,
Robse


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