Restore files from Recycle Bin

A

Andres

Does anyone know how to restore files from the Recycle
Bin with C# or the Shell?

The thing is that i know how to send files to the Recycle
with the SHFileOperation but i do not know how to restore
the files...

Thanks for any help.
 
R

Randy Charles Morin

Call SHGetFolderLocation passing CSIDL_BITBUCKET.
Then you can manipulate that folder as usual.
You'll have to create an interop for the SHGetFolderLocation function.

Randy
http://www.kbcafe.com
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

Restore files from Recycle 1
Recycle Bin with C# 2
restore files still in recycle bin 3
Recycle bin icon no longer works 4
Recycle Bin Restoring 4
Recycle Bin 6
Windows 7 Recycle Bins Corrupt - No File List 1
Recycle bin problems 5

Top