Restore files from Recycle Bin

  • Thread starter Thread starter Andres
  • Start date Start date
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.
 
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
 
Back
Top