Am 29.03.2012 13:16, schrieb Mattias Gaertner:
Marcos Douglas <m...@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?
At least for "per user" environment variables it should work without. And according to a quick test it works with system ones as well.
Regards, Sven _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal