View Single Post
 
Old December 8th, 2006, 09:53 AM
eelisMX eelisMX is offline
Authorized User
 
Join Date: Dec 2004
Location: Salo, Loimaa, , Finland.
Posts: 39
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to eelisMX
Default Restore file from Recycle Bin

Hello,

I use the SHFileOperation API call with FO_DELETE and FOF_ALLOWUNDO flags to send a file to the recycle bin. In some cases I may need to restore a specific file. I suppose this could be done by using the SHFileOperation with FO_MOVE flag, but the filename is changed once it is put in the virtual recycle bin.

Do you have any suggestions on how to programatically restore a file from the recycle bin?

Thanks in advance!