http://bugs.winehq.org/show_bug.cgi?id=12316
Summary: Environment Variable sections in Wine user guide is incorrect Product: WineHQ.org Version: unspecified Platform: Other URL: http://www.winehq.org/site/docs/wineusr- guide/environment-variables OS/Version: other Status: UNCONFIRMED Severity: enhancement Priority: P2 Component: www-unknown AssignedTo: wine-bugs@winehq.org ReportedBy: joe@neoturbine.net
This bug is just for a documentation fix.
http://www.winehq.org/site/docs/wineusr-guide/environment-variables says that strings under the key HKEY_CURRENT_USER/Environment are used to modify certain environment variables. With wine 0.9.58 this does nothing.
The correct location is documented at http://wiki.winehq.org/UsefulRegistryKeys and is HKLM/System/CurrentControlSet/Control/Session Manager/Environment
Also, unlike what the first part of http://www.winehq.org/site/docs/wineusr-guide/environment-variables says, normal shell variables do not seem to appear in wine, i.e., $ export MYENVIRONMENTVAR=myenvironmentvarsetting $ wine cmd CMD Version 0.9.58
H:>MYENVIRONMENTVAR File not found
http://bugs.winehq.org/show_bug.cgi?id=12316
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |INVALID
--- Comment #1 from Austin English austinenglish@gmail.com 2008-03-31 20:56:20 --- It doesn't work that way. Use
$ export MYENVIRONMENTVAR=myenvironmentvarsetting $ wine cmd Z:\home\austin>echo %MYENVIRONMENTVAR% myenvironmentvarsetting
http://bugs.winehq.org/show_bug.cgi?id=12316
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #2 from Austin English austinenglish@gmail.com 2008-03-31 20:56:36 --- Closing invalid.