A. To export a key from the registry in ANSI format, use the /a switch:
regedit /a <registry file> "<registry key>"
For example, the following command exports the HKEY_LOCAL_MACHINE\Software key in ANSI format from the hklm.reg file.
regedit /a c:\hklm.reg "HKEY_LOCAL_MACHINE\Software"
2 comments
Hide comments