home *** CD-ROM | disk | FTP | other *** search
/ High Voltage Shareware / high1.zip / high1 / DIR3 / FMSFMT10.ZIP / FFDIZ.CFG < prev    next >
Text File  |  1993-12-29  |  6KB  |  120 lines

  1. ***********************************************
  2. * Configuration file for FMSFMT, version 1.0  *
  3. ***********************************************
  4. * Example where redirected output of a dos "dir" command
  5. *   is meant to give a list of files to be added to the
  6. *   master FMS directory and the new files are to get the
  7. *   description from FILE_ID.DIZ.
  8. ***********************************************
  9. * General notes:
  10. *    lines beginning with * are comments (ignored)
  11. *    lines begining with / specify parameter values controlling
  12. *       how FMSFMT runs
  13. *    in parm values, case does not matter
  14. *                    spaces after the "=" do not matter
  15. *                    multiple parms can be put on the same line, e.g.
  16. *                         /AddCat$=UNC/AddDate$=Today
  17. *    anything in this file can also be passed on the command line
  18. * --------[display on screen as running doc]---------------
  19. /Title=  On this Run, using DOS DIR files lists
  20. * --------[what gets reformatted]----------------
  21. * StartDir is the name of the directory to merge or reformat
  22. /StartDir=      DOSDIZ.DIR
  23. * --------[format of input]------------------------
  24. * StartIsFMS declares that StartDir is an FMS directory - fixed length
  25. * name begins column 1, size column 15, date in 24, and description
  26. * in 34, last 3 characters are category code.   If not FMS directory -
  27. * e.g. redirected "dir", or non-RBBS list, comment out this line.
  28. */StartIsFMS
  29. * --------[where extended descriptions are located in StartDir]-------------
  30. * ExtendedBeforeName means that the extended occur above the entry with
  31. * the file name.   This is how RBBS FMS directories are that are ordered
  32. * by date.   PCBoard directories have the extended directories after
  33. * the file name entry.  Put in "/NoExtended" if there are no extended
  34. * descriptions in the incoming file.
  35. */ExtendedBeforeName
  36. /NoExtended
  37. * --------[where fields are located]-------------
  38. * These parameters let you specify where the fields in the StartDir
  39. * are located.   FMSFMT grabs 13 characters at the name, 7 at the
  40. * size, 8 at the date, and everything after the description, though
  41. * the last 3 are the category code if the directory is an FMS.   If
  42. * a field is not present, declare its value to be 0.   FMSFMT will
  43. * leave it blank, though AddCat and AddDate let you add a value.
  44. /StartNameAt=   1
  45. /StartSizeAt=   15
  46. /StartDateAt=   0
  47. /StartDescAt=   0
  48. * --------[convert the fields]---------------------
  49. * ConvertFields tells RBBS to perform edits on the name/size/date/desc
  50. * fields.   The edits for name are to squeeze out interior spaces and
  51. * put a dot between prefix and extension.   The edits for size are to
  52. * allign the field to the right.   The edits for date are to separate
  53. * the month/day/year by "-" and to replace blanks by zeros.   The
  54. * edits for the descrition are to be left justify the field and lengthen
  55. * by blanks or truncate to make the length proper.   If StartDir has
  56. * the proper format, comment out this line and FMSFMT will run faster.
  57. /ConvertFields
  58. * --------[whether use description in ZIP]----------
  59. * Use FILE_ID.DIZ inside the ZIP to get a description.  Will
  60. * reformat the lines to use extended descriptions.  FMSFMT needs
  61. * to know where to look for ZIP files.  The default is to look
  62. * in the current directory.  But if the StartDir file has in it
  63. * "Directory of " then FMSFMT will use the directory following
  64. * as the location to look for the ZIP files that follow (this is
  65. * modelled on the output of the DOS "dir" command.  If the ZIP
  66. * file is not found there, FMSFMT will also look in the current
  67. * directory.   FMSFMT will shell to "pkunzip" to extra the description
  68. * file, so PKUNZIP.EXE must be somewhere in the directories specified
  69. * in the PATH setting or else be in the current directory.  The
  70. * DIZ description will overwrite any found already for the file.
  71. /StartUseDIZ
  72. * --------[FMS dir to merge into]------------------
  73. * MergeTo is the name of the FMS file to merge entries into.
  74. * If you merely want to reformat StartDir without merging it into
  75. * another file, comment out this line.
  76. /MergeTo=        UPLOADS.DIR
  77. * --------[directory to create]--------------------
  78. * NewDir is the name of the directory to create (reformated/merged)
  79. /NewDir=         FMSDIZ.DIR
  80. * --------[what to set catcode to]-----------------
  81. * AddCat is the category code to put in for all the entires in StartDir.
  82. * Use this if StartDir has no category codes or you wish them all
  83. * to be replaced.  If the StartDir is not FMS, the default is to
  84. * add "UNC" as the category code.
  85. /AddCat=         UTL
  86. * --------[what to set date to]--------------------
  87. * AddDate is the date code to put in for all the entires in StartDir.
  88. * Use this if StartDir has no dates or you wish them all
  89. * to be replaced.  You can specify "TODAY" if you wish the current
  90. * date to be used.
  91. /AddDate=         TODAY
  92. * --------[what to set description to]-----------------
  93. * AddDesc is the category code to put in for all the entries in StartDir.
  94. * Use this if StartDir has no descriptions or you wish them all
  95. * to be replaced.  The default is to leave the description field blank
  96. * if none is indicated in "/StartDescAt=" by setting it to zero.
  97. /AddDesc=         DOS utility
  98. * --------[length of output]--------------------
  99. * NewLen is the total length of the output.   This way you can change
  100. * the length of the output to whatever desired for both StartDir
  101. * and MergeTo.   Value must be 76 or more.  If not specified,
  102. * the default new length is the length of the TargetDir.  The total
  103. * length will depend on the length of the description field:
  104. * 40 for desc length gives 76, 41 gives 77, 42 -> 78, 43 -> 79,
  105. * 44 -> 80, 45 -> 81, 46 -> 82.
  106. /NewLen=      76
  107. * --------[search/replace for input catcodes]------
  108. * ReplaceCat specifies that the cat codes in StartDir are to
  109. * be replaced by others.   You can specify a pair of 3 character codes.
  110. * For example,
  111. *            /ReplaceCat=     001 UTL
  112. * means to replace cat code "001" in StartDir with "UTL"
  113. * Better yet you can specify a list following "/ReplaceCat="
  114. * by listing the pairs of codes on the lines following, terminating
  115. * the list by "END" on a line by itself.
  116. */ReplaceCat=
  117. *001 COM
  118. *002 WPE
  119. *END
  120.