Hi,

I tried to use the option "--config" on Windows. It works
but I am not sure if I did it in the most elegant way:


- I used the Perl script http://home.ix.netcom.com/~mchase/zip/M-Config.zip
from Michael to write the config values from the registry
to a file (I had troubles in directly reading the values. So
I wrote the section to a file and converted this file with the script.)

- Then I wanted to call Mahogany relatively to the
current directory. This did not work. It seems that Mahogany
wants an absolute path for "--config". However, it seems
to accept both UNIX- and DOS-Syntax (dir/dir/file vs dir\dir\file)

- The following paths must be absolute as well:
FolderDir
GlobalDir
UserDirectory
TreeSelection (?)
AdbFilePath (?)
[Settings/AdbEditor/AddressBooks] (?)

- The paths mostly need double backslashes but there are exceptions
where even DOS- and UNIX-conventions can be mixed up.


My intention is to 
install Mahogany on a removable disk (USB) and
use this harddisk on UNIX and Windows machines without any changes.
To make this possible I think the following were useful:

- Mahogany should accept normal slashes in paths (like Perl does)
- it should accept relative paths like "./dir/dir" or "dir/dir" for FolderDir, 
GlobalDir, ...
- the syntax "M.exe --config=file.cfg" should be ok

Please tell me if there is a better way how I could accomplish 
my object.

Thanks
Roland


















-------------------------------------------------------
This sf.net email is sponsored by:
Access Your PC Securely with GoToMyPC. Try Free Now
https://www.gotomypc.com/s/OSND/DD
_______________________________________________
Mahogany-Users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mahogany-users

Reply via email to