home *** CD-ROM | disk | FTP | other *** search
/ Millennium Time Capsule / AC2000.BIN / disks / ac16disk / job_demo / job_03.kbj < prev    next >
Encoding:
Text File  |  1998-03-13  |  9.9 KB  |  228 lines

  1. *Kobold Action Popups Demo
  2. *
  3. *Anything appearing after an asterisk (on the same line) is ignored.
  4. *Each of the "EXAMPLES" below can be activated and run by removing the
  5. *first asterisk on the left side of each example line and then selecting
  6. *"Execute Job" from the "Kobold" menu (and selecting this file :-)
  7. *The drives listed below must exist in order for the demo to work!
  8. *
  9. *These help files are not meant to be a substitute for the user manual,
  10. *but merely demonstrations of available commands. Please refer to your
  11. *Owners Manual for detailed explanations.
  12. *
  13. *--Copy----------------\/--------------------------------------------------
  14.  
  15. *--Syntax--------------\/--|
  16.  
  17. *--copy [open_folders] [keep sequence] [rename] [reset archives]
  18. *       [keep flags] [ignore_wp]
  19.  
  20. *--example #1----------\/--|copy open_folders
  21.  
  22. *src_select + a:\folder        *SELECT A:\FOLDER in SOURCE directory.
  23. *dst_select b:\                *SELECT B:\ as DESTINATION directory.
  24. *copy open_folders             *OPEN the FOLDER and COPY its contents
  25.                                *to B:\ .
  26.  
  27. *--example #2----------\/--|copy keep_sequence
  28.  
  29. *#0 a:\folder\                 *SELECT A:\FOLDER\ in SOURCE directory.
  30. *choose *+                     *CHOOSE all files in this directory.
  31. *#1 b:\folder\                 *SELECT B:\FOLDER\ in DESTINATION directory.
  32. *copy keep_sequence            *COPY files from SOURCE to DESTINATION,
  33.                                *KEEP file SEQUENCE (files physical order).
  34.  
  35. *--example #3----------\/--|copy rename
  36.  
  37. *#0 a:\                                 *SELECT A:\ as SOURCE directory.
  38. *choose se on_level extensions = (INF)  *CHOOSE/SELECT EXCLUSIVELY files ON
  39. *#1 b:\                                 *current directory LEVEL whose
  40. *copy rename                            *EXTENSIONS are INF. SELECT B:\
  41.                                         *as DESTINATION directory. COPY
  42.                                         *files from A:\ to B:\ and RENAME
  43.                                         *them on the way.
  44.  
  45. *--example #4----------\/--|copy reset_archives
  46.  
  47. *#0 a:\                         *SELECT drive A:\ as SOURCE directory.
  48. *choose se file = desktop.inf   *CHOOSE/SELECT EXCLUSIVELY the FILE
  49. *#1 b:\                         *DESKTOP.INF. SELECT B:\ as DESTINATION
  50. *copy reset_archives            *directory. COPY A:\DESKTOP.INF to
  51.                                 *B:\DESKTOP.INF and then RESET the ARCHIVE
  52.                                 *bit on A:\DESKTOP.INF.
  53.  
  54. *--example #5----------\/--|copy keep_flags
  55.  
  56. *#0 a:\                          *SELECT drive A:\ as SOURCE directory.
  57. *choose se file = desktop.inf    *CHOOSE/SELECT EXCLUSIVELY the file
  58. *#1 b:\                          *DESKTOP.INF. SELECT B:\ as DESTINATION
  59. *copy keep_flags                 *directory. COPY A:\DESKTOP.INF to
  60.                                  *B:\DESKTOP.INF making sure to KEEP the
  61.                                  *original write-protect,hidden and system
  62.                                  *FLAGS intact.
  63.  
  64. *--example #6----------\/--|copy ignore_wp
  65.  
  66. *#0 a:\                          *SELECT drive A:\ as SOURCE directory.
  67. *choose se file = desktop.inf    *CHOOSE/SELECT EXCLUSIVELY the file
  68. *#1 b:\                          *DESKTOP.INF. SELECT B:\ as DESTINATION
  69. *copy ignore_wp                  *directory. COPY A:\DESKTOP.INF to
  70.                                  *B:\DESKTOP.INF. IGNORE the write-protect
  71.                                  *flag on B:\DESKTOP.INF if it's on.
  72.  
  73.  
  74. *--Move----------------\/--------------------------------------------------
  75.  
  76. *--Syntax--------------\/--|
  77.  
  78. *--move [open_folders] [keep sequence] [rename] [keep flags] [ignore wp]
  79.  
  80. *--example #1----------\/--|move open_folders
  81.  
  82. *src_select + a:\folder        *SELECT A:\FOLDER in SOURCE directory.
  83. *dst_select B:\                *SELECT B:\ as DESTINATION directory.
  84. *move open_folders             *OPEN the FOLDER and MOVE its contents
  85.                                *to B:\ .
  86.  
  87. *--example #2----------\/--|move keep_sequence
  88.  
  89. *#0 a:\folder\                 *SELECT A:\FOLDER\ in SOURCE directory.
  90. *choose *+                     *CHOOSE all files in this directory.
  91. *#1 b:\folder\                 *SELECT B:\FOLDER\ in DESTINATION directory.
  92. *move keep_sequence            *MOVE files from SOURCE to DESTINATION,
  93.                                *KEEP file SEQUENCE (files physical order).
  94.  
  95. *--example #3----------\/--|move rename
  96.  
  97. *#0 a:\                                 *SELECT A:\ as SOURCE directory.
  98. *choose se on_level extensions = (INF)  *CHOOSE/SELECT EXCLUSIVELY files ON
  99. *#1 b:\                                 *current directory LEVEL whose
  100. *move rename                            *EXTENSIONS are INF. SELECT B:\
  101.                                         *as DESTINATION directory. MOVE
  102.                                         *files from A:\ to B:\ , RENAMing
  103.                                         *them on the way.
  104.  
  105. *--example #4----------\/--|move keep_flags
  106.  
  107. *#0 a:\                          *SELECT drive A:\ as SOURCE directory.
  108. *choose se file = desktop.inf    *CHOOSE/SELECT EXCLUSIVELY the file
  109. *#1 b:\                          *DESKTOP.INF. SELECT B:\ as DESTINATION
  110. *move keep_flags                 *directory. MOVE A:\DESKTOP.INF to
  111.                                  *B:\DESKTOP.INF making sure to KEEP the
  112.                                  *original write-protect,hidden and system
  113.                                  *FLAGS intact.
  114.  
  115. *--example #5----------\/--|move ignore_wp
  116.  
  117. *#0 a:\                          *SELECT drive A:\ as SOURCE directory.
  118. *choose se file = desktop.inf    *CHOOSE/SELECT EXCLUSIVELY the file
  119. *#1 b:\                          *DESKTOP.INF. SELECT B:\ as DESTINATION
  120. *move ignore_wp                  *directory. MOVE A:\DESKTOP.INF to
  121.                                  *B:\DESKTOP.INF. IGNORE the write-protect
  122.                                  *flag on B:\DESKTOP.INF if it's on.
  123.  
  124.  
  125. *--Read Into Buffer----\/--------------------------------------------------
  126.  
  127. *--Syntax--------------\/--|
  128.  
  129. *--read_into_buffer [keep_flags] [ignore_wp]
  130.  
  131. *--example #1----------\/--|read_into_buffer keep_flags
  132.  
  133. *#0 a:\                                *SELECT drive A:\ as SOURCE directory
  134. *choose se on_level extensions = (INF) *CHOOSE/SELECT EXCLUSIVELY ON the
  135. *read_into_buffer keep_flags           *current directory LEVEL, files which
  136.                                        *end in INF . READ these files INTO
  137.                                        *the BUFFER making sure to KEEP the
  138.                                        *files Write-Protect, Hidden and
  139.                                        *System flags.
  140.  
  141. *--example #2----------\/--|read_into_buffer ignore_wp
  142.  
  143. *#0 a:\                                *SELECT drive A:\ as SOURCE directory
  144. *choose se on_level extensions = (INF) *CHOOSE/SELECT EXCLUSIVELY ON the
  145. *read_into_buffer ignore_wp            *current directory LEVEL, files which
  146.                                        *end in INF . READ these files INTO
  147.                                        *the BUFFER, IGNORing any WRITE-
  148.                                        *PROTECTED files.
  149.  
  150.  
  151. *--Write Buffer--------\/-------------------------------------------------
  152.  
  153. *--Syntax--------------\/--|
  154.  
  155. *--write_buffer [keep]
  156.  
  157. *--example #1----------\/--|write_buffer
  158.  
  159. *#0 a:\                          *SELECT drive A:\ as the SOURCE directory.
  160. *choose se file = desktop.inf    *CHOOSE/SELECT EXCLUSIVELY the FILE
  161. *read_into_buffer                *A:\DESKTOP.INF. READ this FILE into
  162. *#1 b:\                          *BUFFER. SELECT drive B:\ as DESTINATION
  163. *write_buffer                    *directory. WRITE the contents of the
  164.                                  *BUFFER to drive B:\, then erase BUFFER.
  165.  
  166. *--example #2----------\/--|write_buffer keep
  167.  
  168. *#0 a:\                          *SELECT drive A:\ as the SOURCE directory.
  169. *choose se file = desktop.inf    *CHOOSE/SELECT EXCLUSIVELY the FILE
  170. *read_into_buffer                *A:\DESKTOP.INF. READ this FILE into
  171. *#1 b:\                          *BUFFER. SELECT drive B:\ as DESTINATION
  172. *write_buffer keep               *directory. WRITE the contents of the
  173.                                  *BUFFER to drive B:\, but KEEP the BUFFER
  174.                                  *intact.
  175.  
  176.  
  177. *--Delete--------------\/--------------------------------------------------
  178.  
  179. *--Syntax--------------\/--|
  180.  
  181. *--delete [ignore_wp]
  182.  
  183. *--example #1----------\/--|delete
  184.  
  185. *#0 a:\                          *SELECT drive A:\ as SOURCE directory.
  186. *choose se file = desktop.dat    *CHOOSE/SELECT EXCLUSIVELY the FILE
  187. *delete                          *DESKTOP.INF. DELETE it.
  188.  
  189. *--example #2----------\/--|delete ignore_wp
  190.  
  191. *#0 a:\                          *SELECT drive A:\ as SOURCE directory.
  192. *choose se file = desktop.dat    *CHOOSE/SELECT EXCLUSIVELY the FILE
  193. *delete ignore_wp                *DESKTOP.INF. DELETE it even if it's
  194.                                  *WRITE-PROTECTED.
  195.  
  196.  
  197. *--file attributes-----\/--------------------------------------------------
  198.  
  199. *--Syntax--------------\/--|
  200.  
  201. *--file_attributes = (write-protect,hidden,system,archive)
  202.  
  203. *--example #1----------\/--|file_attributes
  204.  
  205. *#0 a:\                          *SELECT drive A:\ as SOURCE directory.
  206. *choose se file = desktop.inf    *CHOOSE/SELECT EXCLUSIVELY the FILE
  207. *file_attributes = (off,*,*,on)  *DESKTOP.INF. Turn the Write-Protect
  208.                                  *FILE ATTRIBUTE off, leave the Hidden
  209.                                  *and System FILE ATTRIBUTEs as they
  210.                                  *are and turn the Archive FILE ATTRIBUTE
  211.                                  *on.
  212.  
  213.  
  214. *--Reset_Status--------\/--------------------------------------------------
  215.  
  216. *--example #1----------\/--|reset_status
  217.  
  218. *#0 a:\                         *SELECT drive A:\ as SOURCE directory.
  219. *choose se file = desktop.inf   *CHOOSE/SELECT EXCLUSIVELY the FILE
  220. *reset_status                   *DESKTOP.INF. RESET the STATUS of all
  221.                                 *objects within the current directory
  222.                                 *to how they were directly after reading
  223.                                 *the directory.
  224.  
  225.  
  226. *--|that's it! cjh.3/13/98
  227.  
  228.