Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
To: cygwin@cygwin.com
From: Michael Pfeiffer <michael.pfeiffer@scch.at>
Subject: How to delete file "nul"?
Date: Fri, 2 Jul 2004 09:29:02 +0000 (UTC)
Lines: 20
Message-ID: <loom.20040702T111613-726@post.gmane.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Complaints-To: usenet@sea.gmane.org
X-Gmane-NNTP-Posting-Host: main.gmane.org
User-Agent: Loom/3.14 (http://gmane.org/)
X-Loom-IP: 193.186.173.115 (Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1) Opera 7.23  [en])

Hi

bash allows to pipe to a file named "nul" e.g.:
echo test > nul

bash-2.05b$ ls -l
total 1
-rwxrwxrwx    1 pfeiffer mkgroup-        4 Jul  2 10:00 nul

The problem is that this file can not be deleted.
I was not able to delete it using the "rm" command in
bash, or "del" in a windows command line or the
windows explorer.

Any idea how this file can be deleted, without
booting an alternative OS?


Regards,
Michael


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

