472,984 Members | 2,004 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,984 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 5787
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Chuck Anderson | last post by:
I know this is more of a Windows question, but I've Googled this and can not find an answer. Is there a PHP interface to the Windows recycle bin? I want to put files there instead of deleting...
1
by: Thomas Halwax | last post by:
Hi, I wrote some code using the shell32.dll to query the size of the recycle bin. The function does not produce an error but the results are not correct: public struct SHQUERYRBINFO {...
1
by: Frank Meng | last post by:
Hi. I wrote a program to get the directory of "Recycle Bin" with SHGetSpecialFolderLocation . It works for "Recent", "SendTo", etc. but it doesn't work for "Recycle Bin". At...
5
by: Gene Vital | last post by:
Can someone point me in the right direction on how to send files to the Recyle Bin using C#.
0
by: Kerem Gmrkc | last post by:
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...
0
by: Steve | last post by:
I have figured out how to send a file to the Recycle Bin using VB.NET. What I'd like to do is be able to scan the files in the Recycle Bin and find those that pertain to my app (I have my own...
5
by: johnb41 | last post by:
I searched and found a way (via API) t0 add a deleted file to the recycle bin. (Thanks Ken Tucker! :)) But I was wondering if VB.NET 2005 (framework 2.0) has a non-api solution. (Note: i...
0
by: eyal | last post by:
Hi I've tested a code by Ken Tucker to send a file to recycle bin (SHFileOperation shell function). The only modification was to include: Private Const FOF_NOCONFIRMATION = &H10 And add it to...
2
by: =?Utf-8?B?VVNBT3o=?= | last post by:
I am using Windows Vista Ultimate (x86). I accidently deleted my Desktop Recycle Bin. I restored it (Control Panel/Personalise/Change Desktop Icons). I clicked on the Recycle Bin (Full) icon...
0
by: lllomh | last post by:
Define the method first this.state = { buttonBackgroundColor: 'green', isBlinking: false, // A new status is added to identify whether the button is blinking or not } autoStart=()=>{
2
by: DJRhino | last post by:
Was curious if anyone else was having this same issue or not.... I was just Up/Down graded to windows 11 and now my access combo boxes are not acting right. With win 10 I could start typing...
2
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 4 Oct 2023 starting at 18:00 UK time (6PM UTC+1) and finishing at about 19:15 (7.15PM) The start time is equivalent to 19:00 (7PM) in Central...
0
by: Aliciasmith | last post by:
In an age dominated by smartphones, having a mobile app for your business is no longer an option; it's a necessity. Whether you're a startup or an established enterprise, finding the right mobile app...
2
by: giovanniandrean | last post by:
The energy model is structured as follows and uses excel sheets to give input data: 1-Utility.py contains all the functions needed to calculate the variables and other minor things (mentions...
3
NeoPa
by: NeoPa | last post by:
Introduction For this article I'll be using a very simple database which has Form (clsForm) & Report (clsReport) classes that simply handle making the calling Form invisible until the Form, or all...
1
by: Teri B | last post by:
Hi, I have created a sub-form Roles. In my course form the user selects the roles assigned to the course. 0ne-to-many. One course many roles. Then I created a report based on the Course form and...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 1 Nov 2023 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM) Please note that the UK and Europe revert to winter time on...
0
isladogs
by: isladogs | last post by:
The next online meeting of the Access Europe User Group will be on Wednesday 6 Dec 2023 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, Mike...

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.