[FWTools] PATH Variable set by FWTools Windows Installer

Even Rouault even.rouault at mines-paris.org
Sun Dec 20 13:29:57 EST 2009


Helmut Schmidt a écrit :

I believe that PATH is a special case. You can define PATH=something and 
it will be equivalent of set PATH=something, or PATH something.
> Even,
>
> thank you for the clarification.
> Of course, you are right. This must happen during the QLandkarteGT 
> installation. I will contact the QLandkarteGT developers.
>
> There is one thing in this context which I do not understand:
> In bin/setfwenv.bat,
> the PATH variable is set as
> PATH=%FWTOOLS_DIR%\bin;%FWTOOLS_DIR%\python;%PATH%
> instead of
> set PATH=%FWTOOLS_DIR%\bin;%FWTOOLS_DIR%\python;%PATH%
> which I would have expected.
> I am not a batch file programming expert, just wondering.
>
> Best regards,
>
> Helmut
>
> Am 2009/12/19 22:09, schrieb Even Rouault:
>   
>> Helmut,
>>
>> The regular FWTools distribution doesn't seem to alter the User Variable
>> Path for me. The path is just changed when you run "setfw.bat" . I
>> suspect that what you observe is something specific to the QLandkarteGT
>> 0.16 installation
>>
>> Best regards,
>>
>> Even
>>
>> Helmut Schmidt a écrit :
>>     
>>> Hello,
>>>
>>> I think that I have observed a problem with the way the FWTools
>>> Windows Installer is setting the PATH Variable.
>>> I have seen this with FWTools 2.4.6 and also with FWTools 2.4.2 (as
>>> part of the QLandkarteGT 0.16 installation) on two different computers
>>> running Windows XP.
>>>
>>> 1.) It seems the the User Variable Path is overwritten by the
>>> installer, instead of appending to the existing content
>>> 2.) The content which is set is
>>> %FWTOOLS_DIR%\bin;%FWTOOLS_DIR%\python;%PATH%
>>> As result of the %PATH% within, the PATH visble to applications
>>> contains the value of the System Variable PATH twice: one time because
>>> of concatenation of User and System variable, the other time because
>>> of the expansion of the %PATH% in the User variables.
>>>
>>> Best Regards,
>>>
>>> Helmut Schmidt
>>>       
>
>
> _______________________________________________
> FWTools mailing list
> FWTools at lists.maptools.org
> http://lists.maptools.org/mailman/listinfo/fwtools
> http://fwtools.maptools.org/
>
>
>
>   




More information about the FWTools mailing list