[fpc-pascal] SysUtils.GetEnvironmentVariable

Marcos Douglas md at delfire.net
Thu Mar 29 13:30:54 CEST 2012


On Thu, Mar 29, 2012 at 8:16 AM, Mattias Gaertner
<nc-gaertnma at netcologne.de> wrote:
>
> Marcos Douglas <md at delfire.net> hat am 29. März 2012 um 13:06 geschrieben:
>
>>[...]> > === output end ===
>> >
>> > Please note that in "cmd" the following are different:
>> >
>> > set FOO=bar
>> >  => "FOO" -> "bar"
>> > set FOO = bar
>> >  => "FOO " -> " bar"
>> > set FOO= bar
>> >  => "FOO" -> " bar"
>> > set FOO =bar
>> >  => "FOO " -> "bar"
>> >
>> > Regards,
>> > Sven
>>
>> The application is installed and the system variable is created. The
>> application and others process should be use this variable just
>> calling SysUtils.GetEnvironmentVariable.
>
>
>
> In former Windows versions sometimes you had to logout/login to get the new
> environment variables.
>
> Is this still the case with Windows 7?

Hm... I don't think so but I can't confirm that.

Marcos Douglas



More information about the fpc-pascal mailing list