REM export part of the registry regedit /E java.reg "HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft" REM convert unicode to readable ASCII with escapes. native2ascii -encoding UnicodeLittle java.reg java.asc