Boost logo

Boost Users :

From: Sebastian Redl (sebastian.redl_at_[hidden])
Date: 2006-01-20 12:48:41


Angus Leeming wrote:

>Sebastian Redl wrote:
>
>
>>Another interesting addition would be replacing of referenced
>>environment variables within the variable - does getenv() do
>>that?
>>
>>
>
>Sorry, I don't follow.
>
>Angus
>
>
Especially in Windows, many environment variables contain a sequence
%something%, which tells the shell to substitute this sequence with the
environment variable something. An example is the PATH variable, which
contains, I believe, %WINDIR% as an early entry. I wonder whether the
Win32 implementation of getenv() does this, or if it should be done by
an external function.

Sebastian Redl


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net