FileSystemWatcher not reporting files in folder moved to Recycle Bin?

  • Thread starter Thread starter Rich in Soquel
  • Start date Start date
R

Rich in Soquel

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
 
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]
 
Back
Top