473,386 Members | 1,766 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 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 Gümrükcü
Jul 21 '05 #1
1 5814
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: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

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.