473,466 Members | 1,456 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

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 Gümrükcü
Jul 21 '05 #1
1 5816
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 Gümrükcü | 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: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...

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.