Difference between revisions of "Changing / adding environment variables"
From WPKG | Open Source Software Deployment and Distribution
m (New page: Windows variables are stored in the registry. You can change them by adding or modifying values in <code>HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Environment</co...) |
(No difference)
|
Revision as of 10:56, 4 April 2008
Windows variables are stored in the registry. You can change them by adding or modifying values in HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Environment
.
Below, an example for adding two variables for Cygwin - with it, applications using cygwin1.dll will be able to use UTF-8 character in file and path names:
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Environment]
"CYGWIN"="codepage:utf8"
"LC_CTYPE"="C-UTF-8"
Import with:
regedit /s "%SOFTWARE%\cygwin.reg