Export  
 
Previous  Top  Next


 
A useful feature of ART is the ability to export any key to a *.REG file, which is a plain text file. Later you can use this *.REG file to modify the Registry on a local or remote machine. After exporting a key you may see the layout of the *.REG file by simply opening it in any text editor by clicking Edit | Edit REG file... editor. To select the external editor you prefer, click on Editor & Logfile tab of the Settings window.  
 
To export a key to a *.REG file by means of ART select the key, then from the Registry menu select Export exportbut, enter a filename, and save it.  
ART is capable of exporting data both into the old format (supported by regedit 4) and the new format (Unicode, supported by regedit 5)  
You can choose the export format by setting one of the following rules from Edit | Settings | Export:  
 
exportset  
 
Auto - The regedit5 format is used for Win 2000 or later and the old format is used for older versions of Windows.  
Ask for confirmation - This gives you an opportunity to choose the format for each export action.  
Version 5 - This is regedit5, the new format.  
Version 4 - This is Regedit4, the old format.  
 
If you open an exported file in a text editor (as described above) you will see text similar to this:  
 
Windows Registry Editor Version 5.00  
; ART - 09.08.2004 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 very simple with Windows Registry Editor Version 5.00 indicating the file type,  
; ART - 09.08.2004 14:51:23\HKEY_LOCAL_MACHINE\SYSTEM\Setup being a comment,  
[HKEY_LOCAL_MACHINE\SYSTEM\Setup] indicating the key the value is from, and  
"SetupType"=dword:00000000 being the value itself. The portion after "=" varies depending on the type of value:  
String , Binary , or Dword.