471,325 Members | 1,438 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,325 software developers and data experts.

Obtaining a Drives Recycle Bin's Path...

Hi,

how can i get the pyhsical path to a recycle bin object.
i am working with the FileSystemWatcher Object and i
dont want to handle events inside the recycle bin, because
the FSW Object treats the recycle bin as a folder/file...

Thanks in advance for any hints...
Best Regards

Kerem Gmrkc
Jul 21 '05 #1
1 5697
Kerem,

On Windows XP Professional, recycle bin objects are stored in a hidden
folder called "RECYCLER" for each drive on the system, for example
C:\RECYCLER or D:\RECYCLER for C and D drives respectively. If you want to
ignore events from the recycle bin, then ignore any events that originate
from the "RECYCLER" folder.

HTH,
Jorge

"Kerem Gümrükcü" wrote:
Hi,

how can i get the pyhsical path to a recycle bin object.
i am working with the FileSystemWatcher Object and i
dont want to handle events inside the recycle bin, because
the FSW Object treats the recycle bin as a folder/file...

Thanks in advance for any hints...
Best Regards

Kerem Gümrükcü

Jul 21 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

3 posts views Thread by Chuck Anderson | last post: by
1 post views Thread by Thomas Halwax | last post: by
5 posts views Thread by Gene Vital | last post: by
reply views Thread by Kerem Gmrkc | last post: by
reply views Thread by Steve | last post: by
5 posts views Thread by johnb41 | last post: by
reply views Thread by rosydwin | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.