[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: delete-file to trash

From: Eli Zaretskii
Subject: Re: delete-file to trash
Date: Sat, 22 May 2010 08:36:07 +0300

> From: Lennart Borgman <address@hidden>
> Date: Fri, 21 May 2010 23:44:52 +0200
> Cc: address@hidden
> On Fri, May 21, 2010 at 11:32 PM, Tassilo Horn <address@hidden> wrote:
> >
> >> Wouldn't it be strange if Emacs as the only application had moving to
> >> trunk disabled by default?
> >
> > Basically no application except file managers delete by moving to trash.
> I thought all GUI applications moved files to trash when the user
> deleted them. Is not that the case?

No.  On Windows, the move to Recycle Bin is the function of the
Windows Explorer, which is a file manager.  Applications that want to
do that need to call the special API implemented by the Explorer.
Applications that are not file managers don't.  They call the Windows
API which simply deletes.  A trivial example is cmd.exe, whose "del"
command deletes files, it does not move them to Recycle Bin.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]