CONFIG.SYS - SET Statements
|The Config.sys Documentation Project|
Environment variables are stored by OS/2 in memory and can be called by any program. They are used by many programs to store information (for example, the install path) or some configuration information. If you want to see a list of all installed environment variables and their values, type "Set" in an OS/2 window. If the list is too long, you can redirect the screen output to a file, simply type this:
Note that SET commands in CONFIG.SYS behave differently than when entered on the command line.
So, when you issue the following comands in a OS/2 session:
SET TEMP=C:\TMP SET TMP=%TEMP%
But, if you add the same lines to CONFIG.SYS:
SET TEMP=C:\TMP SET TMP=%TEMP%
but not TMP=C:\TMP. The enviroment variable TMP now has the value composed by the letters "%", "T", "E", "M", "P", "%". For that reason, in CONFIG.SYS, you must write the values explicitly as follows:
SET TEMP=C:\TMP SET TMP=C:\TMP
This is because variables are not expanded during CONFIG.SYS processing, but they are when run from a shell (command line).
Base Operating System
- DIRCMD - dir command options
- DPATH - search path for data files
- ENH_STRETCH - enhanced stretch-blitting
- ENH_SUSPEND - enhanced suspend option
- OS2_SHELL - command line shell
- PATH - search path for executable files
OS/2 SOM Set Statements.
- CLASSPATH - Java run-time classpath
Global Security Runtime
- INCLUDE - Include directory to compilers.
- INFOPATH - Info files stored.
- IPF_KEYS - IPF key definitions.
- KEYS - command line history.
- LANG - country-specific settings.
- LIB - Points to directories where lib files are stored.
- LIBRARY_PATH - EMX library path
- LOCPATH - Points to teh location of the language files.
- MGA - Matrox graphic cards directory
- MENUSTYLE - context menu entries
- MENUSFOLLOWPOINTER - WarpCenter menu behavior
- MFSCACHE - mobile file sync
- MMREF - Defines which files should be shown in the Multimedia Programming Reference.
- NETVIEW_PATH - Defines the path where the SystemView client is installed.
- PROGRAMS - Define the path for program installation.
- PROMPT - OS/2 session prompt appearance.
- SCCANBENUKED - Allows the Warpcenter to have a delete option on its context menu.
- SCFINDUTILITY - Use a different search program in the Warpcenter.
- SCKILLCONFIRMDISABLED - Avoid the "Are you sure ..." dialog if using the Warpcenter kill feature.
- SCKILLFEATUREENABLED - Enables Warpcenter window list Warpcenter Window List as an application killer.
- SCUSEPRETTYCLOCK - Change the look of the Warpcenter clock.
- SHELLEXCEPTIONHANDLER - Disable the WPS exception handler.
- SHELLHANDLESINC - Increases the number of file handles.
- SMINCLUDE - Defines the directories where the special SOM header files are stored.
- SMTMP - Points to a directory used to store temporary files.
- SYSTEM_INI - Tells the system the path and name of the System INI file.
- TCPLANG - Sets the Language for TCP/IP V4.x.
- TELNET.PASSWORD.ID - Sets a password for the telnet daemon (Telnetd).
- TEMP - Define a directory were OS/2 and programs can store temporarily files.
- TMP - Define a directory were OS/2 and programs can store temporarily files.
- TMPDIR - Define a directory were OS/2 and programs can store temporarily files.
- TZ - Timezone information.