I can save a key (contents) with (as I remember) the SaveKey method of Tregistry, which is a wrapper around RegSaveKey. But this saves the contents as binary... I want to save as text in the same way as regedit does when asked to export a key branch.
Are there any API calls I can use to export a registry branch as text?
Or do I have to shell out to regedit ? Is regedit /e applicable across all OS's .. 95,98, NT, XP, 2000, ME?