Added some environment variables documentation.

This commit is contained in:
Andreas Mohr 2002-07-08 19:36:51 +00:00 committed by Alexandre Julliard
parent 86d5a32de4
commit 52ab395c00
1 changed files with 59 additions and 36 deletions

View File

@ -263,6 +263,29 @@ winspool</><entry>wnet</><entry>x11</>
</para>
</sect2>
</sect1>
<sect1 id="environment-variables">
<title>Setting Windows/DOS environment variables</title>
<para>
Your program might require some environment variable to be set
properly in order to run successfully.
In this case you need to set this environment variable in the
Linux shell, since Wine will pass on the entire shell environment
variable settings to the Windows environment variable space.
Example for the bash shell (other shells may have a different syntax
!):
<screen>
export MYENVIRONMENTVAR=myenvironmentvarsetting
</screen>
This will make sure your Windows program can access the
MYENVIRONMENTVAR environment variable once you start your program
using Wine.
If you want to have MYENVIRONMENTVAR set permanently, then you can
place the setting into /etc/profile, or also ~/.bashrc in the case of
bash.
</para>
</sect1>
</chapter>
<!-- Keep this comment at the end of the file