Registry Toolkit Merge Funduc Software, Inc. Copyright 1999-2005, All Rights Reserved http://www.searchandreplace.com http://www.funduc.com Thank you your interest in Registry Toolkit Merge shareware! Registry Toolkit Merge is a companion program to our Registry Toolkit utility. Registry Toolkit is a multipurpose tool to edit and perform search &/or replaces in the Windows 95/98/ME NT/2000/XP & Windows 2003 registry. Registry Toolkit Merge is command line utility that imports .reg files into the Windows registry. While .reg file import can also be accomplished with Registry Toolkit (and other tools), Registry Toolkit Merge is unique because it can be used to create self- contained, self-importing .exe's. When the .exe you construct is launched the .reg information is imported (after confirmation). Users of the registered version have the option to disable confirmations by running the program with the /s (or /S) switch. See below for more information. Also unique to Registry Toolkit Merge (and Registry Toolkit) are special .reg file functions to: a) Delete keys (and keys/values/data under them); b) Copy keys (and keys/values/data under them); c) Rename keys; d) Copy specific values from one key to another. Performing these operations via a .reg file is not easily accomplished using other registry edit tools. Five example .reg files are included in Registry Toolkit Merge distribution. Please back up your Windows registry and examine the .reg files with your text editor before you experiment! Important: Do not attempt to merge these examples with another registry editor. Use only Registry Toolkit Merge or Registry Toolkit. 'Example_CreateTest.reg' is a standard .reg but the others use specialized functions. Example_CreateTest.reg: ----------------------- When merged into the registry this .reg creates some values & data under HKEY_CURRENT_USER\Software\Test\command. The keys will be created if they do not already exist. If the values specified in the .reg already exist their data will be replaced. Example_DeleteTest.reg: ----------------------- This .reg can only be merged with Registry Toolkit Merge or Registry Toolkit. The action will be to delete HKEY_CURRENT_USER\Software\Test\command and all subkeys/values/data under that key. Example_CopyKey.reg: ----------------------- This .reg can only be merged with Registry Toolkit Merge or Registry Toolkit. The action copies HKEY_CURRENT_USER\Software\Test\command (and all keys/values/data underneath) to HKEY_CURRENT_USER\Software\Test2\command3 Example_RenameKey.reg: ----------------------- This .reg can only be merged with Registry Toolkit Merge or Registry Toolkit. The action renames HKEY_CURRENT_USER\Software\Test\command to HKEY_CURRENT_USER\Software\Test2\command3 Example_CopyValue.reg: ----------------------- This .reg can only be merged with Registry Toolkit Merge or Registry Toolkit. The action of this example is to copy the value (and data) 'Install Path' that is present under HKEY_CURRENT_USER\Software\Test\Command\ to a value named 'InstallPath 2' under HKEY_CURRENT_USER\Software\Test2\Command2. Example_Complex.reg: ----------------------- This .reg can only be merged with Registry Toolkit Merge or Registry Toolkit. This .reg demonstrates how to include a combination of operations in a single .reg. Please examine this with your text editor before you apply it. Registry Toolkit Merge Usage ---------------------------- There are three forms of usage: 1. Apply a .reg file you specify on the command line. For example, RTMerge.exe test.reg The above will merge the contents of 'test.reg' into the registry. NO advance confirmations are provided with this usage. 2. The RTMerge.exe executable can be used as a "stub" file that will apply a .reg via a self-contained .exe. To use the program in this form you must first create a new .exe consisting of the concatenation of RTMerge.exe and the .reg to apply. We suggest you use the 'Concatenate' function of our Directory Toolkit or Explorer Extensions programs to create the new .exe. The steps are similar for both programs. For example purposes we will create an .exe to apply test.reg. a. Highlight RTMerge.exe and test.reg in the Concatenate dialog. b. Arrange the file list with the Move/Up or Move/Down buttons so RTMerge.exe is the list. RTMerge.exe MUST BE FIRST. c. Supply the name of a Target file that has an .exe extension. DO NOT use RTMerge.exe for a target name. The name you use must be unique. Consider a descriptive name, e.g., MergeTestreg.exe d. Click the OK button. To use 'MergeTestreg.exe' and apply the contents of test.reg issue one of the following: MergeTestreg.exe The above provides a confirmation dialog. is presented which give the user the opportunity to cancel if they like. MergeTestreg.exe /s or MergeTestreg.exe /S The above runs the program 'sliently'. No confirmation is presented. The program exits automatically. NOTE: The /s or /S feature is only available in the registered version. 3. As in #2 above but add /s or /S to the command line to run the applicator 'silently'. The user will see no confirm How to create & use .reg files that delete keys ----------------------------------------------- These .reg files require a special format that is understood only by RTMerge.exe and our Registry Toolkit utility. An example is: REGEDIT4 [HKEY_CURRENT_USER\Software\Test\command] "RT_Rename_Key"= When applied by Registry Toolkit or Registry Toolkit Merge, HKEY_CURRENT_USER\Software\Test\command and all keys/values under this key will be deleted. Delete actions can be combined with other actions in the same .reg file. Registry Toolkit can simplify creating these special .reg files. How to create & use .reg files to copy keys ------------------------------------------- As with the above 'delete' operation, copy operation .reg files are understood only by RTMerge.exe and Registry Toolkit. An example is: REGEDIT4 [HKEY_CURRENT_USER\Software\Test\command] "RT_Copy_Key"="HKEY_CURRENT_USER\\Software\\Command3 When applied, the key HKEY_CURRENT_USER\Software\Test\command and all keys/values under this key will copied to HKEY_CURRENT_USER\Software\Command3. If HKEY_CURRENT_USER\Software\Command3 does not exist it will be created. 'Copy' operations can be combined with other actions in the same .reg file. IMPORTANT: Do not attempt to apply these .reg files via the Windows Explorer .reg 'Merge' function. You must use Registry Toolkit Merge or Registry Toolkit. We suggest you see the Registry Toolkit F1 online help for more information. Registry Toolkit can be obtained from our web site - http://www.funduc.com Thank you, Mike Funduc, President Funduc Software Inc. http://www.funduc.com http://www.searchandreplace.com support@funduc.com support@searchandreplace.com