Board index » delphi » Using Recycle Bin

Using Recycle Bin

How can I send a file to the recycle bin? Deletefile() doesn't seem to do
it!

Thankyou in advance

Dan

 

Re:Using Recycle Bin


Use the shFileOperation API to delete the file.

Dan Leach <dleach@#NOSPAM#bigfoot.com> skrev i en
nyhedsmeddelelse:7o9skk$1u...@news5.svr.pol.co.uk...

Quote
> How can I send a file to the recycle bin? Deletefile() doesn't seem to do
> it!

Re:Using Recycle Bin


Try to move it on "\recycled" directory!

Matija

(never tryed!)

Quote
Dan Leach <dleach@#NOSPAM#bigfoot.com> wrote in message

news:7o9skk$1uh$1@news5.svr.pol.co.uk...
Quote
> How can I send a file to the recycle bin? Deletefile() doesn't seem to do
> it!

> Thankyou in advance

> Dan

Re:Using Recycle Bin


Quote
> Dan Leach <dleach@#NOSPAM#bigfoot.com> wrote in message
> news:7o9skk$1uh$1@news5.svr.pol.co.uk...
> > How can I send a file to the recycle bin? Deletefile() doesn't seem to
do
> > it!

I think there's an example on Borlands delphi QandA pages.

Other Threads