On Tue, Jan 11, 2011 at 12:19 AM, George Hovey <
[hidden email]> wrote:
> Thomas,
> The "environment variable" (ie, "property name") is "ProgramFiles".
> Get its value with java.lang.System.getenv( "ProgramFiles" ). On my
> XP machine it has the value "C:\Program Files" but it might be unwise
> to count on this.
> George Hovey
Depends on the language of windows. In any case, system variables like
TEMP, TMP, are a standard in Windows, and will always point to the
right location.
Here are the most common:
http://technet.microsoft.com/en-us/library/cc749104(WS.10).aspxand here
http://xahlee.org/mswin/env_var.htmlOn my Spanish WinXP SP3 netbook:
ComSpec=C:\WINDOWS\system32\cmd.exe
HOMEDRIVE=C:
PROMPT=$P$G
REGINA_LANG=en
REGINA_LANG_DIR=c:\Regina
SystemDrive=C:
SystemRoot=C:\WINDOWS
TEMP=C:\DOCUME~1\SIRAGON\CONFIG~1\Temp
TMP=C:\DOCUME~1\SIRAGON\CONFIG~1\Temp
USERDOMAIN=ML1030
USERNAME=SIRAGON
USERPROFILE=C:\Documents and Settings\SIRAGON
windir=C:\WINDOWS
HOMEPATH=\Documents and Settings\SIRAGON
ProgramFiles=C:\Archivos de programa
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
FC
_______________________________________________
Ibm-netrexx mailing list
[hidden email]