Windows Vista Forums
Vista Forums Home Join Vista Forums Windows 7 Forum Vista Tutorials Tags
Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks.

Go Back   Vista Forums > Misc Newsgroups > .NET General

Vista - FileSystemWatcher not reporting files in folder moved to Recycle Bin?

Reply
 
Old 06-05-2008   #1 (permalink)
Rich in Soquel


 
 

FileSystemWatcher not reporting files in folder moved to Recycle Bin?

We're running a FileSystemWatcher with Subdirectories included.
Suppose that in the watch path, there's a folder called "Duh"
containing files. If we delete the folder Duh, we get notified about
the deletion of each file in Duh. If instead we send Duh to the
Recycle Bin, we get notified about "Duh", but not the files inside Duh
that were removed.

This can't be the design, can it? Anyone have any idea what to do?
At the time of the notificaiton about "Duh", the folder and all the
files are already gone, so we can't look at them any other way that we
can think of.

Thnx

My System SpecsSystem Spec
Old 06-09-2008   #2 (permalink)
Rich in Soquel


 
 

Re: FileSystemWatcher not reporting files in folder moved to RecycleBin?

Also: If we use Windows Explorer to Copy and Paste a folder
containing files of the type we're watching, then we get notified on
each file. On one system, if instead we perform Cut then Paste, we're
not notified about the files created by the Paste? Has anyone else
seen weird behaviour like this? [All test systems are running WinXP
Service Pack 2]


My System SpecsSystem Spec
Reply

Thread Tools


Similar Threads
Thread Forum
FileSystemWatcher not monitoring UNC folder .NET General
Solved Links folder got moved... General Discussion
FileSystemWatcher Folder Rename .NET General
Moved desktop folder Vista General
desktop files moved to another folder under \favorites\desktop. Vista General


Vista Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46