11-17-2015, 10:44 AM
I know only two Windows API to delete files.
SHFileOperation - used by del. Supports Recycle Bin. Also there is a related COM interface, I think it is the same.
DeleteFile - used by FileDelete. Should be slightly faster.
Also there are Windows command-line programs, can be executed with run or RunConsole2:
http://superuser.com/questions/19762/mas...in-windows
http://stackoverflow.com/questions/18673...in-windows
...
SHFileOperation - used by del. Supports Recycle Bin. Also there is a related COM interface, I think it is the same.
DeleteFile - used by FileDelete. Should be slightly faster.
Also there are Windows command-line programs, can be executed with run or RunConsole2:
http://superuser.com/questions/19762/mas...in-windows
http://stackoverflow.com/questions/18673...in-windows
...
