home *** CD-ROM | disk | FTP | other *** search
-
-
- UMFN ■ Update Magic File Names v1.0
- Copyright 1992 by John Giesbrecht (1:247/128)
-
- I wrote UMFN to relieve me of the chore of keeping the magic file names
- (MFNs) in Binkley's OKFile up-to-date. It is far too easy to forget to
- change the definition when a new nodediff or snooze comes in, and I
- didn't like the idea of creating a separate directory for the current
- files. I run it after processing .TICs, and as part of my midnight
- maintenance routine in case I've diddled with something and then
- forgotten about it.
-
- UMFN is a very simple programme. All it does is:
-
- 1. Read (from UMFN.CFG) a list of magic file names (MFNs) and their
- matching filespecs. A sample .CFG file is included.
-
- 2. Find the latest file (according to the DOS timestamp) corresponding
- to each filespec.
-
- 3. Compare each MFN in OKFile to the MFNs in UMFN.CFG; if they match,
- the MFN and the new filespec are written to OKFile. If no file was
- found for that MFN in step 2, the MFN is written *without* a
- filename; requests for that MFN will fail.
-
- Notes:
-
- - MFNs in OKFile that don't appear in UMFN.CFG are left alone, as are
- all other entries in OKFile. In other words, an MFN must appear in
- both UMFN.CFG and OKFile before UMFN will change it. An MFN must
- begin with '@'.
-
- - UMFN.EXE and UMFN.CFG must live in the same directory.
-
- - A backup of OKFile is created with an extension of (surprise!) .BAK.
-
- UMFN is absolutely free, and not guaranteed to do anything. It was
- written in Turbo Pascal, and uses some nifty string-handling routines
- from TurboPower. Thanks to Peter Danevicius (1:247/105) and Paul
- Doerwald (1:247/201) for testing it.
-
- If you have suggestions or comments, please send netmail -- I'm very
- interested in what you have to say.
-
- <JG>
-
-