home *** CD-ROM | disk | FTP | other *** search
/ ftp.funduc.com / 2014.08.ftp.funduc.com.tar / ftp.funduc.com / dirtkt.zip / ScriptColumnDefinitionSettings.txt < prev    next >
Text File  |  2010-08-01  |  5KB  |  97 lines

  1. #             Directory Toolkit Command Script Syntax (Ver 3.3+)
  2. #             Folder Synchronize Command Script Syntax (Ver 2.4)
  3. #
  4. #                  COLUMN DEFINITION SETTINGS FOR SCRIPTS
  5. #
  6. #                        Funduc Software, Inc
  7. #                        Copyright 1996-2010
  8. #      http://www.funduc.comááááhttp://www.searchandreplace.com
  9. #        support@Funduc.com áááásupport@searchandreplace.comá
  10.  
  11.  
  12. Note: This file is NOT a sample script. DO NOT submit this file to
  13. the program as a script.
  14.  
  15. # is the comment character for scripts.
  16.  
  17. Here are some details for the Display Columns= and Output Columns=
  18. switches. Display Columns= is ignored in Folder Synchronize.
  19.  
  20. The default used for a script are the settings in place when the
  21. program was last run interactively.
  22.  
  23. If you wish to customize your script you may find it easier to
  24. first establish and test your settings manually in the Directory
  25. Toolkit Options-Display and Options-Output dialogs. Then use the
  26. Directory Toolkit 'Write Options To Script' function (View Menu)
  27. to export your settings to a script. Use your text editor to get
  28. the Display Columns= and Output Columns= settings from that
  29. exported script into your production script.
  30.  
  31.  
  32. # *** DISPLAY AND OUTPUT COLUMN SETTINGS ***
  33. #
  34. # The Display Columns= and Output Columns= switches can be used to
  35. # control the layout of Funduc Software's Directory Toolkit GUI
  36. # display and the layout of the output report in Directory Toolkit
  37. # and Funduc Software's Folder Synchronize. If a script containing a
  38. # Display Columns= setting is passed to Folder Synchronize, this
  39. # switch is ignored -- Folder Synchronize does not have a GUI
  40. # display ;-)
  41. # Current program settings will be used if nothing is specified for
  42. # either of these switches.
  43. # For Directory Toolkit, you can save your current Output and
  44. # Display column settings to a file via the 'Save to File' buttons
  45. # in Directory Toolkit's Options/Output and Options/Display dialogs.
  46. # Formatting of columns is controlled as follows:
  47. #  - Each column specification must be surrounded by 
  48. #       <DT_COL=description> ... </DT_COL>
  49. #    where 'description' is the text displayed in the header or column
  50. #    tab for that column.
  51. #  - Output Columns can be separated by anything you want. Control characters
  52. #    such as \t (tab), \r (cr), \n (nf), or spaces, or a literal string.
  53. #  - The Output Columns definition should end with a delimiter of some type such
  54. #    as \t or, at minimum, extra spaces.
  55. #  - Column and fields have a start & end tag, similar to html. Don't forget
  56. #    the ending tag.
  57. #  - The single alignment operator, <DT_RIGHT_JUST>, does not have a closing
  58. #    tag. That formatting is applied to the entire column.
  59. #  - More than one field can be used within a column.
  60. #  - Fields within columns can be separated by spaces, text, or control characters
  61. #    such as \t.
  62. # Fields and their function are:
  63. # ------------------------------
  64. # Field Name                       Description
  65. # ----------------------------     -------------------------------------------
  66. # <DT_FIELD=Delimiter><DT_FIELD>     Any text of your choice. \t OK also. Use within a column.
  67. # <DT_FIELD=Name><DT_FIELD>          Complete file name w/ extension.
  68. # <DT_FIELD=Type><DT_FIELD>          File extension only.
  69. # <DT_FIELD=Date><DT_FIELD>          File Date stamp.
  70. # <DT_FIELD=Time><DT_FIELD>          File Time stamp.
  71. # <DT_FIELD=Size><DT_FIELD>          File size in bytes.
  72. # <DT_FIELD=Subdirectory><DT_FIELD>  Subdirectory for the file, closing \ included.
  73. # <DT_FIELD=Checksum><DT_FIELD>      Checksum calculation.
  74. # <DT_FIELD=CRC32><DT_FIELD>         CRC32 calculation.
  75. # <DT_FIELD=Root><DT_FIELD>          The full pathname including drive letter.
  76. # <DT_FIELD=Version><DT_FIELD>       File version info for exe, dll, ocx files.
  77. # <DT_FIELD=Attribute><DT_FIELD>     Attribute stamp (hidden, system, read-only, archive)
  78. # <DT_FIELD=Description><DT_FIELD>   Not available on all OS's.
  79. # <DT_FIELD=Access Date><DT_FIELD>   Last access date stamp.
  80. # <DT_FIELD=Access Time><DT_FIELD>   Last access time stamp.
  81. # <DT_FIELD=Creation Date><DT_FIELD> File creation date stamp.
  82. # <DT_FIELD=Creation Time><DT_FIELD> File creation time stamp.
  83. # <DT_FIELD=Comment><DT_FIELD>       ZIP comment, if present.
  84. #
  85. # Output Formatting control
  86. # -------------------------
  87. # One operator is available, <DT_RIGHT_JUST>. All items from this point 
  88. # to the closing tag for that column will be right justified. 
  89. #
  90. # Finally, here are some example settings:
  91. # Display Columns=<DT_COL=File Name><DT_FIELD=Subdirectory></DT_FIELD><DT_FIELD=Name></DT_FIELD></DT_COL><DT_COL=Size><DT_RIGHT_JUST><DT_FIELD=Size></DT_FIELD></DT_COL><DT_COL=Modified><DT_FIELD=Date></DT_FIELD> <DT_FIELD=Time></DT_FIELD></DT_COL><DT_COL=Attrib><DT_FIELD=Attribute><DT_FIELD=CRC32></DT_FIELD></DT_COL>
  92. # Output Columns=<DT_COL=Description><DT_FIELD=Description></DT_FIELD></DT_COL>\t<DT_COL=File Name><DT_FIELD=Subdirectory></DT_FIELD><DT_FIELD=Name></DT_FIELD></DT_COL>\t<DT_COL=Size><DT_RIGHT_JUST><DT_FIELD=Size></DT_FIELD></DT_COL>\t<DT_COL=Modified><DT_FIELD=Date></DT_FIELD> <DT_FIELD=Time></DT_FIELD></DT_COL>\t
  93.