www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2001/12/28/11:40:18

X-Authentication-Warning: delorie.com: mailnull set sender to djgpp-workers-bounces using -f
From: "Tim Van Holder" <tim DOT van DOT holder AT pandora DOT be>
To: <djgpp-workers AT delorie DOT com>,
"'Richard Dawe'" <rich AT phekda DOT freeserve DOT co DOT uk>
Subject: Silly me (was Re: Odd 'rm' behaviour (WinXP))
Date: Fri, 28 Dec 2001 17:40:04 +0100
Message-ID: <000301c18fbe$4f9f9060$d47d76d5@zastaixp>
MIME-Version: 1.0
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook, Build 10.0.3416
In-reply-to: <3069-Fri28Dec2001155532+0200-eliz@is.elta.co.il>
Importance: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000
Reply-To: djgpp-workers AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp-workers AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

> Could it be that XP introduced some new feature for DOS deletions?

I doubt it.  I just tried 4DOS; its 'del' is definitely NOT Win32
based, and it works as expected.  So far, only 'rm' seems to be
affected.
In fact, I just ran a 2.03-based emacs, and did

C-x d (-> dired)
M-! touch foo (-> creates 'foo')
g (update display -> 'foo' shown)
d (on 'foo', to mark for deletion)
x (to delete the file)
g (to refresh display)

No 'deleted' folder was created.

This made me VERY suspicious.  So I ran 'which rm'. *duh* As it
turns out, I was using 'rm' from Visual Studio.NET (probably
provided for makefile compatibility).  This needs a '-x' parameter
to inhibit the 'deleted' folder.
*Sigh* Why they think it's a good idea to make rm behave like that
at all, I don't know.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019