G
Guest
Hello
The DirectoryMonitor sample codes demonstrate the .NET Framework System.IO FileSystemWatcher object works nicely but display only short file name (for example test.bdrg become test~1.bdr) when a monitored file is deleted from a COMMAND CONSOLE window yet display correctly when deleted from Windows Explorer.
Further more, many examples about FileSystemWatcher usage I've found the OnDelete event does not get triggered at all if a monitored file is deleted from a COMAND CONSOLE, yet work correctly when delete from Windows Explorer
Is this a bug on FileSystemWatcher Object? Does any one know how to work around this
Thank you
The DirectoryMonitor sample codes demonstrate the .NET Framework System.IO FileSystemWatcher object works nicely but display only short file name (for example test.bdrg become test~1.bdr) when a monitored file is deleted from a COMMAND CONSOLE window yet display correctly when deleted from Windows Explorer.
Further more, many examples about FileSystemWatcher usage I've found the OnDelete event does not get triggered at all if a monitored file is deleted from a COMAND CONSOLE, yet work correctly when delete from Windows Explorer
Is this a bug on FileSystemWatcher Object? Does any one know how to work around this
Thank you