home *** CD-ROM | disk | FTP | other *** search
/ ftp.funduc.com / 2014.08.ftp.funduc.com.tar / ftp.funduc.com / udtktshr.zip / RegistryOperationScriptSyntax.txt < prev    next >
Text File  |  2002-12-08  |  7KB  |  208 lines

  1. #                       Update Toolkit
  2. #                         Version 2.2
  3. #                     Funduc Software, Inc.
  4. #              Copyright 2001-2003, All Rights Reserved
  5. #  http://www.funduc.com      http://www.searchandreplace.com
  6.  
  7. # Listed below are the Update Toolkit script switches for 
  8. # registry operations. 
  9.  
  10. # General Comments
  11. # ===================================================
  12. # The # character in column 1 is the comment character. 
  13.  
  14. # The [Default] Section is an optional specification that 
  15. # is used when you have some parameters to apply across 
  16. # all [ActionX]s sections in the script. Any parameters that 
  17. # are also specified in an [ActionX] override the counterpart
  18. # [Default] specification. [Default] is not required. It is OK
  19. # to specify a complete set of parameters for each [ActionX].
  20.  
  21. # IMPORTANT: All scripts MUST have at least one [ActionX] 
  22. # section. For a single action script, DO NOT USE a [Default]
  23. # section. Use [Action1] instead.
  24.  
  25. # If your script has multiple actions and if you are using output 
  26. # file(s), use a different Output_File= specification for each 
  27. # [Action] section. File writes to the output file are 'overwrite', 
  28. # not 'append'.
  29.  
  30. # See Export via a script for more information on exports.
  31.  
  32. [Default]
  33. # *** SEARCH AND REPLCE STRINGS ***
  34. # It is OK to leave Replace String= blank when conducting 
  35. # search-only operations.  Results of the search will be 
  36. # written to the undo file.
  37. # If you wish to use the undo file to preview the effects 
  38. # of a replacement, enter a string in Replace String= and 
  39. # specify Replace=0 (see below).
  40. # If Search String= and Replace String= are supplied in 
  41. # [Default], create an [Action1] section with no 
  42. # Search String= and Replace String= setting in order to use 
  43. # Search String= and Replace String= as defined in [Default] 
  44. # If your [Action1] includes a specific Search String= and 
  45. # Replace String= settings they will supercede what is defined
  46. # for default.
  47. Search String=Funduc
  48. Replace String=
  49.  
  50. # *** HIVE/HEY TO SEARCH ***
  51. # Specify a top level key name to begin the operation from.
  52. Key=HKEY_CURRENT_USER\Software
  53.  
  54. # *** CASE SENSITIVE OPERATION ***
  55. # 0 = Case Insensitive search
  56. # 1 = Case Sensitive search
  57. # If not specified, Default = 0
  58. Case Sensitive=0
  59.  
  60. # *** WHOLE WORD OPERATION ***
  61. # 0 = Whole Word matching for the search string off
  62. # 1 = Whole Word matching search string on
  63. # If not specified, Default = 0
  64. Whole Word=0
  65.  
  66. # *** REGULAR EXPRESSION OPERATION ***
  67. # See Registry Operations - Regular Expressions for more info.
  68. # 0 = Regular Expression mode off
  69. # 1 = Regular Expression mode on
  70. # If not specified, Default = 0
  71. Regular Expression=0
  72.  
  73. # *** OPERATIONS ON VALUES ***
  74. # 0 = Do not search (or replace) in registry values
  75. # 1 = Search (or replace) in registry values
  76. # If not specified, Default = 0
  77. Values=1
  78.  
  79. # *** OPERATIONS ON KEYS ***
  80. # 0 = Do not search (or replace) registry keys
  81. # 1 = Search (or replace) registry keys
  82. # If not specified, Default = 0
  83. Keys=1
  84.  
  85. # *** OPERATIONS ON DATA ***
  86. # 0 = Do not search (or replace) data values
  87. # 1 = Search (or replace) data values
  88. # If not specified, Default = 0
  89. Data=1
  90.  
  91. # *** OPERATIONS ON STRING DATA ***
  92. # 0 = Do not search (or replace) REG_SZ data types
  93. # 1 = Search (or replace) REG_SZ data types
  94. # If not specified, Default = 0
  95. String=1
  96.  
  97. # *** OPERATIONS ON EXPANDED STRING DATA ***
  98. # 0 = Do not search (or replace) REG_EXPAND_SZ data types
  99. # 1 = Search (or replace) REG_EXPAND_SZ data types
  100. # If not specified, Default = 0
  101. Expanded String=0
  102.  
  103. # *** OPERATIONS ON MUTLI LINE STRING DATA ***
  104. # 0 = Do not search (or replace) REG_MULTI_SZ data types
  105. # 1 = Search (or replace) REG_MULTI_SZ data types
  106. # If not specified, Default = 0
  107. Multi String=0
  108.  
  109. # *** OPERATIONS BINARY DATA ***
  110. # 0 = Do not search REG_BINARY data types 
  111. # 1 = Search REG_BINARY data types
  112. # If not specified, Default = 0
  113. Binary=0
  114.  
  115. # *** PROCESS SUBKEYS OR NOT ***
  116. # By default the program will recurse all subkeys. To 
  117. # process values/data only in the immediate key specified 
  118. # in the Key= switch above, use the Process Subkeys=0 
  119. # switch. 
  120. # 0 = Do not process subkeys
  121. # 1 = Process Subkeys
  122. Process Subkeys=1
  123.  
  124. # *** OUTPUT/UNDO FILE SPECIFICATION ***
  125. # Note: If nothing is specified after the = character or you 
  126. # omit this switch completely, the program will create one or 
  127. # more undo/output files in the last path for those when the 
  128. # program was run interactively. 
  129. # If a specific file is indicted as modeled above, output is 
  130. # directed to that file. 
  131. # You can specify a different output/undo file for each [ActionX] 
  132. # section in a multi-step script. 
  133. # The Output/Undo File is NOT an append mode write.  You may want 
  134. # to specify a different Output/Undo File for each step so contents
  135. # are not overwritten by a later step. 
  136. Output/Undo File=F:\REPORTS\UPDTKT1.REG
  137.  
  138. # *** REPLACEMENT PROMPTING ***
  139. # Note: When confirm is on, you may chose to skip all further 
  140. # confirmations in the confirmation dialog after the first prompt 
  141. # is offered. 
  142. # 0 = No initial replacement confirmation
  143. # 1 = Confirm replacement prompt supplied for first replacement
  144. # If not specified, Default = 0
  145. Prompts=1
  146.  
  147. # *** PERMIT REPLACEMENTS? ***
  148. # Use this when you have a Replace String specified but just want 
  149. # to preview the results of your replace. The preview will be 
  150. # listed in the Output/Undo File.
  151. # 0 = No replace
  152. # 1 = Perform a replace
  153. # If not specified, Default = 0
  154. Replace=0
  155.  
  156. # *** DISPLAY PROGRESS METER ***
  157. # 0 = Standard progress meter
  158. # 1 = No progress meter is displayed
  159. # If not specified, Default = 0
  160. No Progress=0
  161.  
  162. # *** WRITE REPLACEMENT STRING TO VALUE DATA ***
  163. # To write the replace string where a value is found 
  164. # by the search string instead of changing the value 
  165. # itself, specify the data type with this switch. 
  166. # In most cases you will not use any setting for this
  167. # switch so leave it turned off or omit entirely.
  168. # 1 = REG_SZ
  169. # 2 = REG_EXPAND_SZ
  170. # 3 = REG_BINARY
  171. # 4 = REG_DWORD
  172. # 4 = REG_DWORD_LITTLE_ENDIAN
  173. # 5 = REG_DWORD_BIG_ENDIAN
  174. # 6 = REG_LINK
  175. # 7 = REG_MULTI_SZ
  176. # If not specified, Default=0.
  177. Set Value Data=0
  178.  
  179.  
  180. # *** ADDITIONAL ACTIONS ***
  181. # NOTE: The [ActionX] sections can be specified in any 
  182. # any order in the script file.  The program will parse 
  183. # the script file and implement them sequentially based 
  184. # on their number, 
  185. # e.g., [Action1], [Action2], [Action3], etc.
  186.  
  187. [Action1]
  188. Key=HKEY_CURRENT_USER\Software2
  189.  
  190. [Action2]
  191. Search String=Test
  192. Replace String=Testing
  193. Key=HKEY_CURRENT_USER\Software\Test
  194. Replace=1
  195. Case Sensitive=1
  196. Whole Word=1
  197. Regular Expression=0
  198. Values=1
  199. Keys=0
  200. Data=0
  201. String=1
  202. Expanded String=0
  203. Multi String=0
  204. Binary=0
  205. Output/Undo File=F:\REPORTS\UPDTKT2.REG
  206. Prompts=0
  207.  
  208.