Freeware tool logs file system events
XTWare has created a free service called FileNotify that traps events on specific directories and performs an action when anything is changed or modified.
FileNotify is a lightweight program: It's a single executable that runs as a system service. There is, however, no installer -- it needs to be registered by hand, but it is easy enough to remove as well. Once set up, you can create a list of directories (with a supplied editor application) that watches for any of the following actions: file creation or modification, deleting files, modifying attributes or names (including long filenames) and changing security tokens. You can use any of these actions to trigger a command-line action, such as a batch file or an .EXE.
The program logs its actions to a text file that, by default, is FileNotify.Log (located in the directory that FileNotify itself is running in).
The program also checks directories recursively -- you can point it at a top-level directory and ask it to watch all files or folders under that directory.
FileNotify cannot monitor activity on a single file, but you can work around this by using a batch file with an input parameter (i.e., mybatchfile.bat %1) as the on-change action. The first line of the batch file can filter for a specific file like this:
If "%1"=="filename.fil" goto myaction
More...
0 Comments:
Post a Comment
<< Home