Jump to content

CONFIG.SYS - SET Statements: Difference between revisions

From EDM2
Ak120 (talk | contribs)
mNo edit summary
Ak120 (talk | contribs)
mNo edit summary
Line 25: Line 25:
==Base Operating System==
==Base Operating System==
*[[COMSPEC]]
*[[COMSPEC]]
*[[COPYFROMFLOPPY]]
*[[C1]]
*[[C1]]
*[[DESKTOP]]
*[[DESKTOP]]
Line 38: Line 37:
*[[KEYS]] - command line history
*[[KEYS]] - command line history
*[[LANG]] - country-specific settings
*[[LANG]] - country-specific settings
*[[OBJECTSNOOZETIME]]
*[[OS2_SHELL]] - command line shell
*[[OS2_SHELL]] - command line shell
*[[PATH]] - search path for executable files
*[[PATH]] - search path for executable files
Line 52: Line 52:
*[[BACKGROUNDBITMAPDELAY]]
*[[BACKGROUNDBITMAPDELAY]]
*[[BACKGROUNDBITMAPDELAY2]]
*[[BACKGROUNDBITMAPDELAY2]]
*[[HARDWAREBITBLT]]
*[[NCDEBUG]]
*[[PM_ASYNC_FOCUS_CHANGE]]
*[[PM_ASYNC_FOCUS_CHANGE]]
*[[PM_DYNAMIC_DRAG]]
*[[PM_DYNAMIC_DRAG]]
*[[PM_ROLLUP_BUTTON]]
*[[PM_ROLLUP_BUTTON]]
*[[QUEUE_SIZE_THRESHOLD]]
*[[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]]
*[[VCFG_NO_DDC]] - GRADD DDC


===Help Manager===
===Help Manager===
Line 65: Line 69:
*[[AUTOREFRESHFOLDERS]] - automatic refresh of folders
*[[AUTOREFRESHFOLDERS]] - automatic refresh of folders
*[[AUTOSTART]] - autostart of objects
*[[AUTOSTART]] - autostart of objects
*[[MENUSTYLE]] - context menu entries
*[[NEWNOTEBOOKS]]
*[[NOLARGENTEXEICON]]
*[[NOLARGENTEXEICON]]
*[[RESTARTOBJECTS]]
*[[RESTARTOBJECTS]]
*[[SHAPIEXCEPTIONHANDLER]]
*[[SHELLEXCEPTIONHANDLER]] - Disable the WPS exception handler.
*[[SHELLHANDLESINC]] - Increases the number of file handles.
*SOMDDIR
*SOMDDIR
*[[SOMIR]]
*[[SOMIR]]
Line 81: Line 90:
*[[DSPPATH]]
*[[DSPPATH]]
*[[MMBASE]]
*[[MMBASE]]
*[[MMSTREAM]]
*[[MMTYPESEXTS]]
*[[MMVWRLOG]]
*[[MMWPSLOG]]
*[[MMYIELD]]


==Layered Products===
===Installation===
*[[CDROMINST]]
*[[COPYFROMFLOPPY]]
*[[SOURCEPATH]]


==Programming Environments==
==Layered Products==
===Toolkit===
===Programming Environments===
*[[CPREF]]
;Toolkit
*[[GPIREF]]
*[[CPREF]] - Control Program Reference
*[[GPIREF]] - GPI Reference
*[[INCLUDE]] - Include directory
*[[INCLUDE]] - Include directory
*[[IPF_KEYS]] - IPF key definitions
*[[IPF_KEYS]] - IPF key definitions
*[[IPFC]]
*[[IPFC]] - IPF compiler
*[[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.
*[[MMREF]] - Defines which files should be shown in the Multimedia Programming Reference.
*[[PMREF]]
*[[PMREF]] - Presentation Manager Reference
*[[WPSREF]]
*[[WPSREF]] - Workplace Shell Reference


===OS/2 SOM===
;SOM
*[[SMADDSTAR]]
*[[SMADDSTAR]]
*[[SMCLASSES]]
*[[SMCLASSES]]
Line 103: Line 121:
*[[SMNOTC]]
*[[SMNOTC]]
*[[SMTMP]] - Points to a directory used to store temporary files.
*[[SMTMP]] - Points to a directory used to store temporary files.
===SOMobjects===
 
;SOMobjects
*[[AVLSVRNAME]]
*[[AVLSVRNAME]]
*[[SOMBASE]]
*[[SOMBASE]]
Line 115: Line 134:
*[[SOMTHREADPEER]]
*[[SOMTHREADPEER]]


===Java Run-time===
;Java Run-time
*[[CLASSPATH]] - Java run-time classpath
*[[CLASSPATH]] - Java run-time classpath
*[[SWING_HOME]] - Swing run-time
*[[SWING_HOME]] - Swing run-time


==Networking==
===Networking===
===LAPS===
;LAPS
*[[ADAPTER_NIF]]
*[[ADAPTER_NIF]]
*[[ETC]]
*[[ETC]]


===LAN Services===
;LAN Services
*[[DLSINI]]
*[[DLSINI]]
*[[INIT_FILE_NAMES]]
*[[INIT_FILE_RANGES]]
*[[LANINSTEP]]
*[[LANINSTEP]]
*[[LOCPATH]] - Points to the location of the language files.
*[[NWDBPATH]]
*[[WPS_COMMUNICATION]]
*[[WPS_COMMUNICATION]]


* [[HARDWAREBITBLT]]
;TCP/IP
* [[HOME]]
*[[HOME]]
*[[HOSTNAME]]
*[[HOSTNAME]]
* [[I18NDIR]]
*[[I18NDIR]]
* [[NLSPATH]]
*[[NLSPATH]]
*[[NSPR_OS2_NO_HIRES_TIMER]]
*[[TCPLANG]] - Sets the language for TCP/IP V4.x.
*[[TELNET.PASSWORD.ID]] - Sets a password for the telnet daemon (Telnetd).
*[[TZ]] - Timezone information.
*[[USE_HOSTS_FIRST]] - resolver


==Global Security Runtime==
;MFS
*[[MFSCACHE]] - mobile file sync
 
;Global Security Runtime
*[[IKEYMAN_HOME]]
*[[IKEYMAN_HOME]]
*[[IKEYMAN40_HOME]]
*[[IKEYMAN40_HOME]]
*[[IKEYMAN50_HOME]]
*[[IKEYMAN50_HOME]]


*[[INIT_FILE_NAMES]]
*[[INIT_FILE_RANGES]]
*[[LIBC_HOOK_DLLS]]
*[[LOCPATH]] - Points to the location of the language files.
*[[LOGFILES]]
*[[LOGNAME]]
*[[LOGNAME]]
*[[MGA]] - Matrox graphic cards directory
*[[MGA]] - Matrox graphic cards directory
*[[MENUSTYLE]] - context menu entries
*[[MFSCACHE]] - mobile file sync


*[[MMSTREAM]]
*[[NETVIEW_PATH]] - Defines the path where the SystemView client is installed.
*[[MMTYPESEXTS]]
*[[MMVWRLOG]]
*[[MMWPSLOG]]
*[[MMYIELD]]
*[[NCDEBUG]]
*[[NETVIEW_PATH]] - Defines the path where the SystemView client is installed.
*[[NEWNOTEBOOKS]]


*[[NNTPSERVER]]
*[[SRVNAME1]] - Used for remote installations of OS/2.
*[[NSPR_OS2_NO_HIRES_TIMER]]
 
* [[NWDBPATH]]
* [[OBJECTSNOOZETIME]]
 
* [[PROGRAMS]] - Define the path for program installation.
 
* [[PSIDATADIR]]
* [[PNHOSTNAME]]
 
* [[QUEUE_SIZE_THRESHOLD]]
 
* [[SHAPIEXCEPTIONHANDLER]]
* [[SHELLEXCEPTIONHANDLER]] - Disable the WPS exception handler.
* [[SHELLHANDLESINC]] - Increases the number of file handles.


*[[SMG_PATH]] - Used by the [[IBM Availability and Operations Manager|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.
*[[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.
*[[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]]


==EMX==
*[[INFOPATH]] - Info files stored.
*[[LIBRARY_PATH]] - EMX library path
*[[MANPATH]]


Check also [[CONFIG.SYS - SET Statements (Additional software)]].
Check also [[CONFIG.SYS - SET Statements (Additional software)]].


[[Category: The Config.sys Documentation Project]]
[[Category: The Config.sys Documentation Project]]

Revision as of 20:43, 12 December 2019

The Config.sys Documentation Project
  1. BASEDEV Statements
  2. CALL Statements
  3. DEVICE Statements
  4. IFS Statements
  5. OS/2 Commands
  6. DOS Commands
  7. RUN Statements
  8. SET Statements
  9. PSD Statements
  10. Other Information
  1. Programs
  2. Hardware
  3. List of Statements

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

PM

Help Manager

Workplace Shell

WarpCenter

Multimedia

Installation

Layered Products

Programming Environments

Toolkit
  • CPREF - Control Program Reference
  • GPIREF - GPI Reference
  • INCLUDE - Include directory
  • IPF_KEYS - IPF key definitions
  • IPFC - IPF compiler
  • LIB - Points to directories where lib files are stored.
  • MMREF - Defines which files should be shown in the Multimedia Programming Reference.
  • PMREF - Presentation Manager Reference
  • WPSREF - Workplace Shell Reference
SOM
SOMobjects
Java Run-time

Networking

LAPS
LAN Services
TCP/IP
MFS
Global Security Runtime
  • NETVIEW_PATH - Defines the path where the SystemView client is installed.
  • SRVNAME1 - Used for remote installations of OS/2.
  • 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.


Check also CONFIG.SYS - SET Statements (Additional software).