Programmatic solution of course...
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.