delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/01/14/17:26:50

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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
From: Chris Polley <chris DOT polley AT ieee DOT org>
To: cygwin AT cygwin DOT com
Cc: Ralf Hauser <hauser AT acm DOT 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 AT cygwin DOT com>
Message-ID: <mb392v4lhss5dpqevd2kfmk0l5doaj2t8e@4ax.com>
References: <b01p2e$pov$1 AT main DOT gmane DOT org>
In-Reply-To: <b01p2e$pov$1@main.gmane.org>
MIME-Version: 1.0
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/

- Raw text -


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