in reply to Output Registry (Windows) by Exporting file

I agree with muntfish .

Depending on what you want to do with this reg file, it may be easier to use a system call to regedit.exe . Win32::TieRegistry was usefull to me to modify or read the registry 'in place' , that is on the running system .

That said I never tried Win32::TieRegistry::Dump .

The file produced by a regedit.exe export will be in the UTF-16-LE format (first two bytes : FF FE) which may cause you problem if you want to programatically modify it, before reloading it for example .

  • Comment on Re: Output Registry (Windows) by Exporting file