A useful feature of ARM is an ability to export any key to a *.REG file, which is a text file. Later you can use this *.REG file to modify local (as well as remote) Registry settings. After exporting a key you may see the layout of the *.REG file by simply opening it in an editor by clicking (to choose an external editor, which will be used for revision, click on External Editor tab of the Settings window).
To export a key to a *.REG file by means of ARM select the key, then from the File menu choose Export to REG File, define a filename, and save it.
ARM is capable of exporting data both into the old format (supported by regedit 4), and into the new format (Unicode, supported by regedit 5)
You can choose the export format by setting one of the following rules from Oprtions\Settings \ Editor, Import, Export & Logfile:
Auto - (the regedit5 format is used for Win 2000 and newer, and the old format is used for older Windows versions);
Ask for confirmation - you will have an opportunity to choose the format for each export action
New (W2000 + ...) - the regedit5 format
Old - the regedit4 format
If you open this file in an editor (as it was described above) you will see a text similar to the example below:
Windows Registry Editor Version 5.00
; ARM - 09.08.2002 14:51:23\HKEY_LOCAL_MACHINE\SYSTEM\Setup
[HKEY_LOCAL_MACHINE\SYSTEM\Setup]
"CmdLine"="setup-newsetup"
"SetupType"=dword:00000000
"SystemPartition"="\\Device\\HarddiskVolume1"
"SystemPrefix"=hex(03):d2,03,00,00,00,c0,3c,18
The layout is quite simple: Windows Registry Editor Version 5.00 indicates the file type,
; ARM - 09.08.2002 14:51:23\HKEY_LOCAL_MACHINE\SYSTEM\Setup is a comment,
[HKEY_LOCAL_MACHINE\SYSTEM\Setup] indicates the key the values are from,
"SetupType"=dword:00000000 is the value itself. The portion after the "=" varies depending on the type of value:
String, Binary, or Dword.