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