Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
From: Chris Polley <chris.polley@ieee.org>
To: cygwin@cygwin.com
Cc: Ralf Hauser <hauser@acm.org>
Subject: Re: Move to Windows Recycle Bin instead of deleting
Date: Tue, 14 Jan 2003 16:26:02 -0600
Reply-To: cygwin mailing list <cygwin@cygwin.com>
Message-ID: <mb392v4lhss5dpqevd2kfmk0l5doaj2t8e@4ax.com>
References: <b01p2e$pov$1@main.gmane.org>
In-Reply-To: <b01p2e$pov$1@main.gmane.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id h0EMQnh16700

On Tue, 14 Jan 2003 20:42:45 +0100, you wrote:

>Is there a way to have the files moved to the windows recycle bin from 
>the cygwin shell window/command line?

AFAIK, there isn't, although the 
	int SHFileOperation(LPSHFILEOPSTRUCT lpFileOp) function in
shell32.dll

<http://msdn.microsoft.com/library/default.asp?url=/library/en-us/shellcc/platform/shell/reference/functions/shfileoperation.asp>

might be useful in working out a way to do it.

HTH,
CHris


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

