| | | | | In lugnet.announce, Lars C. Hassing wrote:
Thanks for the new version Lars! I'll post issue as I find them but this stuck
out
> The LDrawIni library will search for an ldraw.ini file in a number of places,
> the first one found is used:
> 1. The LDRAWINI environment variable
> 2. Windows MacOSX + Linux
> %USERPROFILE%\LDraw.ini $HOME/Library/Preferences/org.ldraw.plist (Mac)
> %ALLUSERSPROFILE%\LDraw.ini /Library/Preferences/org.ldraw.plist (Mac)
> LDrawDir\LDraw.ini $HOME/.ldrawrc
> %windir%\LDraw.ini $HOME/ldraw.ini
> C:\Windows\LDraw.ini LDrawDir/LDraw.ini
> /etc/ldraw.ini
For Windows, you should add the App Data directory for a searched location.
Microsoft recommends and Vista security requires that program specific config
files be located there, preferably in a specific folder. For LDDP I create an
LDraw folder specifically for this purpose. Now that I think about it, the LSC
could probably define the location preference for each platform.
-Orion
| | | | | | | | | | | | | In lugnet.cad, Orion Pobursky wrote:
> For Windows, you should add the App Data directory for a searched location.
> Microsoft recommends and Vista security requires that program specific config
> files be located there, preferably in a specific folder. For LDDP I create an
> LDraw folder specifically for this purpose.
OK, good idea. You mean the %APPDATA% environment variable ?
Where should it go in the search order ? Like this:
The LDRAWINI environment variable
%APPDATA%\LDraw.ini
%USERPROFILE%\LDraw.ini
%ALLUSERSPROFILE%\LDraw.ini
LDrawDir\LDraw.ini
%windir%\LDraw.ini
C:\Windows\LDraw.ini
> Now that I think about it, the LSC
> could probably define the location preference for each platform.
Yes. I have added the locations I have collected during the years
from various postings.
/Lars
| | | | | | |