Move to Windows Recycle Bin instead of deleting

Chris Polley chris.polley@ieee.org
Wed Jan 15 04:31:00 GMT 2003


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/



More information about the Cygwin mailing list