> On Wed, Nov 18, 2009 at 5:19 PM, Phil Krylov <p...@newstar.rinet.ru> wrote: >>> Storing settings in .ini (or .xml) files as opposed to >>> registry. Author Eugene Roshal insisted on registry >>> (while I insisted that this is a mistake - this was in >>> 1996), so finally some .bat files have born to save/restore >>> reg content, but I miss "portability" to this very date, >>> at least as an option. F.e. I store Far executables on >>> a VMWare virtual disk (or network share, or host drive), >>> and access it from multiple VMs. Now keeping in sync my >>> Far preferences between VMs is practically impossible. >>> >>> If you agree, you could ask for this feature on russian >>> Far Manager forums :) >> >> Do you mean they ignore English messages? ;) > > Ok I got a user account on their bugzilla, there is bug 183: > Registry2INI, which proposes to add a cmdline parameter > /ini[:filename.ini] to use ini for reading and writing configuration > registry entries. Last message on that bug dated 2007. I guess if you > write a patch and post it there it might work...
Thanks a lot for information. That's exactly what I'd need. Patch would be difficult to write for me, by now they use lots of lists and special stuff inside the registry, so probably some registry-emulated-in-disk-file solution would be the most transparent way to make this. But this would need some more .c skill than I have, and possibly some sort of basic xml "engine". Of course a full switch (back) to .ini would be easier, but this would need changing lots of existing code. (maybe not even an option due to plugins) Brgds, Viktor _______________________________________________ Harbour mailing list (attachment size limit: 40KB) Harbour@harbour-project.org http://lists.harbour-project.org/mailman/listinfo/harbour