Jozef,
I don't know about the Recycle bin, but I'd move all the 'deleted' files to a temp directory until ALL of the operation is complete. Then the LAST step would be to delete the files you moved. That way they will always be available if needed.
Barbara
>Hi All !
>I have in my program an operation that have to delete several files but if last step of that operation fails, I have to recover all files.
>If I erase a file to WINDOWS RECYCLE BIN ( erase xxx.dbf recycle)
>can I easy recover this file (programaticly from within VFP5 !) or have I made my own recycle bin.
>Greetings !