We have answer of your question!

100% solved queries, no empty question

Question: How do you place a file in recycle bin instead of delete?


0

Programmatic solution of course...

Question author Brian-leahy | Source

Answer


1


http://www.daveamenta.com/2008-05/c-delete-a-file-to-the-recycle-bin/

From above:

using Microsoft.VisualBasic;

string path = @"c:\myfile.txt";
FileIO.FileSystem.DeleteDirectory(path, 
    FileIO.UIOption.OnlyErrorDialogs, 
    RecycleOption.SendToRecycleBin);
Answer author Tk

Tickanswer.com is providing the only single recommended solution of the question How do you place a file in recycle bin instead of delete? under the categories i.e c# , .net , c++ , windows , io , . Our team of experts filter the best solution for you.


You may also add your answer

Thanks for contributing an answer to Tick Answer!