TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Chris B
NA
1
0
FileSystemWatcher and moving directories
Sep 28 2004 11:28 AM
I have created a FileSystemWatcher which monitors d:\stage. When i move a directory, say c:\project, into the D:\stage directory, I get a FileCreated event only for the directory name "project". I am more interested in the .txt files that are within the 'project' directory, but Create events do not seem to get fired for files within "project". And i do have the SubFolders attribute turned on with the FileSystemWatcher. After i move the C:\project into D:\stage, I can then add any .txt files i want to d:\stage\project and the events fire. The events just don't fire when a whole directory is moved into d:\stage. Has anyone else seen this, is there a workaround?
Reply
Answers (
1
)
Password Encryption / Hashing
Text Over Image then upload