FileSystemWatcher not reporting files in folder moved to Recycle Bin?

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
 
R

Rich in Soquel

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]
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top