CONFIG.SYS - SET Statements: Difference between revisions
mNo edit summary |
|||
Line 42: | Line 42: | ||
*[[PROMPT (Environment variable)|PROMPT]] - OS/2 session prompt appearance. | *[[PROMPT (Environment variable)|PROMPT]] - OS/2 session prompt appearance. | ||
*[[ULSPATH]] | *[[ULSPATH]] | ||
*[[VIDEO_DEVICES]] | |||
*[[VIO_MGA]] | |||
*[[VIO_SVGA]] | |||
===PM=== | ===PM=== | ||
Line 48: | Line 51: | ||
* [[BACKGROUNDBITMAPDELAY]] | * [[BACKGROUNDBITMAPDELAY]] | ||
* [[BACKGROUNDBITMAPDELAY2]] | * [[BACKGROUNDBITMAPDELAY2]] | ||
* [[PM ASYNC FOCUS CHANGE]] | |||
* [[PM_DYNAMIC_DRAG]] | |||
* [[PM_ROLLUP_BUTTON]] | |||
*[[SYSTEM_INI]] - Tells the system the path and name of the System INI file. | *[[SYSTEM_INI]] - Tells the system the path and name of the System INI file. | ||
*[[USER_INI]] | *[[USER_INI]] | ||
Line 58: | Line 64: | ||
*[[AUTOREFRESHFOLDERS]] - automatic refresh of folders | *[[AUTOREFRESHFOLDERS]] - automatic refresh of folders | ||
*[[AUTOSTART]] - autostart of objects | *[[AUTOSTART]] - autostart of objects | ||
*[[SOMIR]] | |||
=== | ==WarpCenter== | ||
*[[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 ..." dialogue 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. | ||
* [[ | |||
===Multimedia=== | ===Multimedia=== | ||
*[[DSPPATH]] | *[[DSPPATH]] | ||
*[[MMBASE]] | *[[MMBASE]] | ||
==Layered Products=== | |||
==Programming Environments== | ==Programming Environments== | ||
Line 84: | Line 86: | ||
*[[IPF_KEYS]] - IPF key definitions | *[[IPF_KEYS]] - IPF key definitions | ||
*[[LIB]] - Points to directories where lib files are stored. | *[[LIB]] - Points to directories where lib files are stored. | ||
*[[MMREF]] - Defines which files should be shown in the Multimedia Programming Reference. | |||
*[[PMREF]] | |||
*[[WPSREF]] | *[[WPSREF]] | ||
Line 93: | Line 97: | ||
*[[SMNOTC]] | *[[SMNOTC]] | ||
*[[SMTMP]] - Points to a directory used to store temporary files. | *[[SMTMP]] - Points to a directory used to store temporary files. | ||
===SOMobjects=== | |||
*[[AVLSVRNAME]] | |||
*[[SOMBASE]] | |||
*[[SOMDDEBUG]] | |||
*[[SOMDIR]] | |||
*[[SOMDMESSAGELOG]] | |||
*[[SOMDPORT]] | |||
*[[SOMDTIMEOUT]] | |||
*[[SOMRUNTIME]] | |||
*[[SOMSOCKETS]] | |||
*[[SOMTHREADPEER]] | |||
===Java Run-time=== | ===Java Run-time=== | ||
Line 133: | Line 148: | ||
* [[MMSTREAM]] | * [[MMSTREAM]] | ||
* [[MMTYPESEXTS]] | * [[MMTYPESEXTS]] | ||
* [[MMVWRLOG]] | * [[MMVWRLOG]] | ||
Line 147: | Line 161: | ||
* [[NWDBPATH]] | * [[NWDBPATH]] | ||
* [[OBJECTSNOOZETIME]] | * [[OBJECTSNOOZETIME]] | ||
* [[PROGRAMS]] - Define the path for program installation. | * [[PROGRAMS]] - Define the path for program installation. | ||
Line 162: | Line 170: | ||
* [[RESTARTOBJECTS]] | * [[RESTARTOBJECTS]] | ||
* [[RUNWORKPLACE]] | * [[RUNWORKPLACE]] | ||
* [[SHAPIEXCEPTIONHANDLER]] | * [[SHAPIEXCEPTIONHANDLER]] | ||
Line 191: | Line 192: | ||
*[[VCFG_NO_DDC]] | *[[VCFG_NO_DDC]] | ||
* [[WPS_COMMUNICATION]] | * [[WPS_COMMUNICATION]] | ||
Revision as of 03:11, 26 October 2019
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:
SET >output.txt
General Tips
Note that SET commands in CONFIG.SYS behave differently than when entered on the command line.
So, when you issue the following commands in a OS/2 session:
SET TEMP=C:\TMP SET TMP=%TEMP%
you get:
TEMP=C:\TMP TMP=C:\TMP
But, if you add the same lines to CONFIG.SYS:
SET TEMP=C:\TMP SET TMP=%TEMP%
you get:
TEMP=C:\TMP TMP=%TEMP%
but not TMP=C:\TMP. The environment 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
- COMSPEC
- COPYFROMFLOPPY
- C1
- DESKTOP
- DEVICEFONTDISABLED
- DIRCMD - dir command options
- DISPLAYTYPE
- DPATH - search path for data files
- ENH_STRETCH - enhanced stretch-blitting
- ENH_SUSPEND - enhanced suspend option
- GRADD_CHAINS
- GREEXT
- KEYS - command line history
- LANG - country-specific settings
- OS2_SHELL - command line shell
- PATH - search path for executable files
- PROMPT - OS/2 session prompt appearance.
- ULSPATH
- VIDEO_DEVICES
- VIO_MGA
- VIO_SVGA
PM
- BACKGROUNDBITMAP
- BACKGROUNDBITMAP2
- BACKGROUNDBITMAPDELAY
- BACKGROUNDBITMAPDELAY2
- PM ASYNC FOCUS CHANGE
- PM_DYNAMIC_DRAG
- PM_ROLLUP_BUTTON
- SYSTEM_INI - Tells the system the path and name of the System INI file.
- USER_INI
Help Manager
Workplace Shell
- AUTOREFRESHFOLDERS - automatic refresh of folders
- AUTOSTART - autostart of objects
- SOMIR
WarpCenter
- 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 ..." dialogue 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.
Multimedia
Layered Products=
Programming Environments
Toolkit
- CPREF
- GPIREF
- INCLUDE - Include directory
- IPF_KEYS - IPF key definitions
- LIB - Points to directories where lib files are stored.
- MMREF - Defines which files should be shown in the Multimedia Programming Reference.
- PMREF
- WPSREF
OS/2 SOM
- SMADDSTAR
- SMCLASSES
- SMEMIT
- SMINCLUDE - Defines the directories where the special SOM header files are stored.
- SMNOTC
- SMTMP - Points to a directory used to store temporary files.
SOMobjects
- AVLSVRNAME
- SOMBASE
- SOMDDEBUG
- SOMDIR
- SOMDMESSAGELOG
- SOMDPORT
- SOMDTIMEOUT
- SOMRUNTIME
- SOMSOCKETS
- SOMTHREADPEER
Java Run-time
- CLASSPATH - Java run-time classpath
- SWING_HOME - Swing run-time
Networking
LAPS
Global Security Runtime
- INFOPATH - Info files stored.
- LIBC_HOOK_DLLS
- LIBRARY_PATH - EMX library path
- LOCPATH - Points to the location of the language files.
- LOGFILES
- LOGNAME
- MGA - Matrox graphic cards directory
- MANPATH
- MENUSTYLE - context menu entries
- MENUSFOLLOWPOINTER - WarpCenter menu behaviour
- MFSCACHE - mobile file sync
- MMSTREAM
- MMTYPESEXTS
- MMVWRLOG
- MMWPSLOG
- MMYIELD
- NCDEBUG
- NETVIEW_PATH - Defines the path where the SystemView client is installed.
- NEWNOTEBOOKS
- PROGRAMS - Define the path for program installation.
- SHAPIEXCEPTIONHANDLER
- SHELLEXCEPTIONHANDLER - Disable the WPS exception handler.
- SHELLHANDLESINC - Increases the number of file handles.
- SMG_PATH - Used by the IBM AO-Manager.
- SMG_Pl2NlG - Used by the IBM AO-Manager.
- SOURCEPATH
- SRVNAME1 - Used for remote installations of OS/2.
TCP/IP
- 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.
- TIMESYNC
- 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.
- USE_HOSTS_FIRST
- USER
- VCFG_NO_DDC
Check also CONFIG.SYS - SET Statements (Additional software).