<p><strong>Java</strong> is the key here. I need to be able to delete files but users expect to be able to "undelete" from the recycle bin.  As far as I can tell this isn't possible.  Anyone know otherwise?</p>

For various reasons Windows
has no concept of a folder that simply corresponds to the Recycle Bin
.
The correct way is to use JNI to invoke the Windows
```
SHFileOperation
```
API, setting the
```
FO_DELETE
```
flag in the
```
SHFILEOPSTRUCT
```
structure.
SHFileOperation documention
Java example for copying a file using SHFileOperation
(the Recycle Bin link in the same article doesn't work)