C# FileSystemWatcher Copy folder complete
问题 I am using FileSystemWatcher to monitor a folder that will be used to do some file renaming. The only thing that will be copied will be folders containing files. There will not be single files put into the monitored folder. This is the code for setting up the FileSystemWatcher watcher.Path = path; watcher.NotifyFilter = NotifyFilters.DirectoryName | NotifyFilters.FileName; watcher.IncludeSubdirectories = true; watcher.Filter = "*.*"; watcher.Created += new FileSystemEventHandler(watcher