The UserGuide.htm file contains:
| Use an administrator account for installation. |
Put FileNotify.exe where you want, for example in the WINNT directory.
If you do an upgrade from a previous version, stop the service, close Event Viewer, replace FileNotify.exe with the new version and start the service.
We chose this minimalist installation scheme because we are sure you don't like to start heavy blind installation program on your production park. You certainly have in mind "I hope it will not upgrade a DLL that is incompatible with existing programs !"
|FileNotify is a Windows NT 4.0/3.51/2000 service that works on Server and Workstation. |
For NT 3.51 you must have SP5.
|Starting and stopping|
|Service long name is "File Notification". Start it in the service manager program. |
Service short name is filenotify, use it with net start and stop command.
net start filenotify
net stop filenotify
| All directory parameters are in FileNotify.txt file, located in the same directory as the program. |
Some advanced parameters are in the registry key HKEY_LOCAL_MACHINE\Software\XTWare\FileNotify
FileNotify.txt is parse during the service start. If you edit the file, you need to stop/start the service.
To edit FileNotify.txt you can use your usual text editor, or you can use FNAdmin.exe
| FileNotify.txt |
Each line in this file use the following grammar:
You can specify UNC path (remote directory and syntax like \\server\share\dir1\dir2) and it should work, but not guaranteed. With UNC path FileNotify service must be started under administrator account as local system account can't do networking. UNC path have not be tested on all version of Windows. If it doesn't work with the version you work with try to apply last service pack. Behavior not determined on no Windows server (Samba, disk array...). Tell me if you test such no Windows server.
Look at the example section.
| Registry |
The registry path is HKEY_LOCAL_MACHINE\Software\XTWare\FileNotify
LogFile value specify the file to log to. If you need daily file add %s in name, this will be replaced by the date in yyyymmdd format. Default installation value is <FileNotify path\FileNotify.log>
Remove (or rename) this key to disable log.
EventLogFailure value specify if action failure should be trace to event log. Default value is yes (1).
| <Date>,<Time>,<Status>,<Action> |
<Date> always mm/dd/yyyy whatever regional settings are.
Remember that failure are also written to NT's EventLog (see EventLogFailure registry key)
| FileNotify.txt |
;Sample file for FileNotify