I have a windows service that watches a path on my PC . My challenge is that I had issue with service and had to stop it and fix it .Now there are new files in sub directories on the watched path that where not process because the service wasn't running . I want to be able to cut the folder out from the path and paste its and my service should then detect the folder and this part works fine but it doesn't continue and read files inside the folder.
Below is how file watcher is set up
fileSystemWatcher1.Path = filePath;
fileSystemWatcher1.EnableRaisingEvents = true;
fileSystemWatcher1.IncludeSubdirectories = true;
fileSystemWatcher1.InternalBufferSize = fsWatcherBuffer;
fileSystemWatcher1.Created += new
FileSystemEventHandler(fileSystemWatcher1_Created);
fileSystemWatcher1.Changed += new
FileSystemEventHandler(fileSystemWatcher1_Changed);