home *** CD-ROM | disk | FTP | other *** search
/ synchro.net / synchro.net.tar / synchro.net / modem.madness / SMMNETML / UMFN100.ZIP / UMFN.DOC < prev    next >
Encoding:
Text File  |  1992-06-25  |  1.8 KB  |  48 lines

  1.  
  2.  
  3. UMFN ■ Update Magic File Names v1.0
  4. Copyright 1992 by John Giesbrecht (1:247/128)
  5.  
  6. I wrote UMFN to relieve me of the chore of keeping the magic file names
  7. (MFNs) in Binkley's OKFile up-to-date.  It is far too easy to forget to
  8. change the definition when a new nodediff or snooze comes in, and I
  9. didn't like the idea of creating a separate directory for the current
  10. files.  I run it after processing .TICs, and as part of my midnight
  11. maintenance routine in case I've diddled with something and then
  12. forgotten about it.
  13.  
  14. UMFN is a very simple programme.  All it does is:
  15.  
  16. 1. Read (from UMFN.CFG) a list of magic file names (MFNs) and their
  17.    matching filespecs.  A sample .CFG file is included.
  18.  
  19. 2. Find the latest file (according to the DOS timestamp) corresponding
  20.    to each filespec.
  21.  
  22. 3. Compare each MFN in OKFile to the MFNs in UMFN.CFG; if they match,
  23.    the MFN and the new filespec are written to OKFile.  If no file was
  24.    found for that MFN in step 2, the MFN is written *without* a
  25.    filename; requests for that MFN will fail.
  26.  
  27. Notes:
  28.  
  29. - MFNs in OKFile that don't appear in UMFN.CFG are left alone, as are
  30.   all other entries in OKFile.  In other words, an MFN must appear in
  31.   both UMFN.CFG and OKFile before UMFN will change it.  An MFN must
  32.   begin with '@'.
  33.  
  34. - UMFN.EXE and UMFN.CFG must live in the same directory.
  35.  
  36. - A backup of OKFile is created with an extension of (surprise!) .BAK.
  37.  
  38. UMFN is absolutely free, and not guaranteed to do anything.  It was
  39. written in Turbo Pascal, and uses some nifty string-handling routines
  40. from TurboPower.  Thanks to Peter Danevicius (1:247/105) and Paul
  41. Doerwald (1:247/201) for testing it.
  42.  
  43. If you have suggestions or comments, please send netmail -- I'm very
  44. interested in what you have to say.
  45.  
  46. <JG>
  47.  
  48.