: I am working on a program thats supposed to send the file that you
: delete from your jump-drive into a specific folder. It basicaly
: works as a cut and paste but the paste part must be automatic and
: into a specific folder. The procedure must know what file it is im
: "deleting" and instead of deleting it, it must send it to a folder
: on my computer. This will be done by adding a feature to the right
: click list (the right cick menu thing ss already done). Any ideas of
: how I should do this ?
:
Use FileCopy followed by Kill. Make sure you handle any errors that arise! For instance, when the copy fails, don't kill the file, and other such events.
If you also want to 'hook' the file deletion, then you'll have to use Windows API's.
Best Regards,
Richard
The way I see it... Well, it's all pretty blurry