Delete files to Recycle Bin?

Blitz3D Forums/Blitz3D Programming/Delete files to Recycle Bin?

You could simply create a function that moves a file to the Recycle Bin and removes it from the game, or you could try something like:



; copy file to recycle bin

CopyFile(file,recycle_bin_directory)

;delete file from this dir

DeleteFile(file)




That will give the effect of deletion without actually deleting it from you computer. I didn't try it yet so let me know how it turns out.