***program:*****************************
try to use a c# FileSystemWatcher to trigger process on events such as filecreation, filerenamed, etc
***problem:******************************
the program works fine with manual (mouse) creation of file, but I wrote a file generator to automaticly generate files, code as :
File.Create("c:/myfile1.txt");
File.Create("c:/Myfile2.txt);
...
the FileSystemWatcher wouldn't detect this kind of file creation. sometimes it says "process is being in use" sth like that.
***question***************************:
does anyone have any idea about how the windows file system works?
Thanks!
try to use a c# FileSystemWatcher to trigger process on events such as filecreation, filerenamed, etc
***problem:******************************
the program works fine with manual (mouse) creation of file, but I wrote a file generator to automaticly generate files, code as :
File.Create("c:/myfile1.txt");
File.Create("c:/Myfile2.txt);
...
the FileSystemWatcher wouldn't detect this kind of file creation. sometimes it says "process is being in use" sth like that.
***question***************************:
does anyone have any idea about how the windows file system works?
Thanks!