Jump to content

CONFIG.SYS - SET Statements: Difference between revisions

From EDM2
Ak120 (talk | contribs)
Ak120 (talk | contribs)
 
(110 intermediate revisions by 2 users not shown)
Line 1: Line 1:
[[The Config.sys Documentation Project|Return to The Config.sys Documentation Project Main Page]]
{{CFGProject}}
 
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:  
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
  SET >output.txt
Line 7: Line 6:
Note that SET commands in CONFIG.SYS behave differently than when entered on the command line.
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:
So, when you issue the following commands in a OS/2 session:
  SET TEMP=C:\TMP
  SET TEMP=C:\TMP
  SET TMP=%TEMP%
  SET TMP=%TEMP%
you get:
you get:
  TEMP=C:\TMP  
  TEMP=C:\TMP
  TMP=C:\TMP  
  TMP=C:\TMP
 
But, if you add the same lines to CONFIG.SYS:
But, if you add the same lines to CONFIG.SYS:
  SET TEMP=C:\TMP  
  SET TEMP=C:\TMP  
  SET TMP=%TEMP%  
  SET TMP=%TEMP%
 
you get:
you get:
  TEMP=C:\TMP
  TEMP=C:\TMP
  TMP=%TEMP%
  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:
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 TEMP=C:\TMP
  SET TMP=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).
This is because variables are not expanded during CONFIG.SYS processing, but they are when run from a shell (command line).


==Base Operating System==
==Base Operating System==
===Workplace Shell===
*[[COMSPEC]]
====AUTOREFRESHFOLDERS====
This variable disables the automatic refresh of folders.
SET AUTOREFRESHFOLDERS=value
 
Default settings:
* SET AUTOREFRESHFOLDERS=YES
 
Parameters:
 
Value can be YES or NO.
* SET AUTOREFRESHFOLDERS=YES
The automatic refresh of folders is enabled.
* SET AUTOREFRESHFOLDERS=NO
The automatic refresh of folders is disabled.
 
If this parameter is not set it defaults to YES.
 
====AUTOSTART====
This variable defines which programs and objects should be started on boot up.
SET AUTOSTART=parameters
 
Parameters:
 
All parameters must be delimited by commas.
;Programs:Enables starting or restarting of programs at boot up.
;Folders:Enables opening of folders at boot up.
;Tasklist:Enables the tasklist, without this item you can not open the tasklist.
:In Warp 3.0 prior to Fixpack 17 has the item no effect.
;Connections:Restarts network connections.
;Launchpad:Starts the Launchpad at boot up.
;Warpcenter:Starts the Warpcenter at boot up. This parameter is only available in Warp 4.0 and later versions.
 
===SOM===
OS/2 SOM Set Statements.
 
====AVLSVRNAME====
SET AVLSVRNAME=AS
statement to support network DSOM
 
====SOMBASE====
Used by OS/2 SOM.
SET SOMBASE=<path>
 
Parameters:
:Path can be any full path.
:Value can be any full path. Relative paths are not allowed.
 
====SOMDDEBUG====
Used by OS/2 SOM.
SET SOMDDEBUG=10
 
Value can be any full path. Relative paths are not allowed.
 
====SOMDIR====
Used by OS/2 SOM. Points to the DSOM directory, DSOM stands for Distibuted SOM.
SET SOMDIR=Path
 
Parameters:
 
Path can be any full path.
 
Value can be any full path. Relative paths are not allowed.
 
====SOMDMESSAGELOG====
Used by OS/2 SOM.
SET SOMDMESSAGELOG=Somd.log
 
Value can be any full path. Relative paths are not allowed.
 
====SOMDPORT====
Used by OS/2 SOM.
SET SOMDPORT=4096
 
Value can be any full path. Relative paths are not allowed.
 
====SOMDTIMEOUT====
Used by OS/2 SOM.
SET SOMDTIMEOUT=300
 
Value can be any full path . Relative paths are not allowed.
 
====SOMIR====
Used by OS/2 SOM. Points to all *.ir files needed by SOM.
SET SOMIR=E:\OS2\ETC\SOM.IR;SOM.IR
 
Parameters:
 
You can use any *.ir file. If you use more than one files, the files must be delimited by a semicolon.
 
Value can be any full path . Relative paths are not allowed.
 
====SOMRUNTIME====
Used by OS/2 SOM.
SET SOMRUNTIME=Path
 
Value can be any full path. Relative paths are not allowed.
 
====SOMSOCKETS====
Used by OS/2 SOM.
SET SOMSOCKETS=TcpIpSockets
 
Value can be any full path. Relative paths are not allowed.
 
====SOMTHREADPEER====
The SomThreadPeer environment variable is used by the Lotus Smartsuite.
SET SOMTHREADPEER=1
 
Value can be any full path. Relative paths are not allowed.
 
==Programming Environments==
 
==Networking==
===LAPS===
====Adapter_Nif====
This Statement is part of the LAN Adapter and Protocol Support (LAPS) and points out the network information file (NIF) for the installed LAN card.
SET Adapter_Nif=value
 
Parameters:
 
Value can be any NIF file. The NIF file must be located in the x:\IBMCOM\MACS directory.
 
===PM===
====BACKGROUNDBITMAP====
SET BACKGROUNDBITMAP="bitmap.BMP"
On security-enabled servers, the Presentation Manager lockup/autodim function is disabled. To restore the autodim function to guard against display phosphor burn-in, you can specify a sequence of up to 100 bitmaps to be displayed.
 
If no file is specified, a default OS/2 logo bitmap is used.
 
If the file name is in the form bitmapNN, where NN represents digits 00-99, the file name specifies that it is the first of a sequence of files to be displayed cyclically.
 
====BACKGROUNDBITMAP2====
SET BACKGROUNDBITMAP2="bitmap.BMP"
On security-enabled servers, the Presentation Manager lockup/autodim function is disabled. This line enables the Screen Saver function.
 
If no file is specified, a default OS/2 logo bitmap is used.
 
====BACKGROUNDBITMAPDELAY====
SET BACKGROUNDBITMAPDELAY=n (in sec., default 300)
the BACKGROUNDBITMAPDELAY value is the amount of time, in seconds, to display the BACKGROUNDBITMAP file before displaying the first bitmap in the sequence.
 
====BACKGROUNDBITMAPDELAY2====
SET BACKGROUNDBITMAPDELAY2=n (in sec., default 60)
the BACKGROUNDBITMAPDELAY2 value is the amount of time, in seconds, to delay between the display of the bitmap sequence designated by BACKGROUNDBITMAP2.
 
*[[BOOKSHELF]] - help manager search path for book shelves
*[[C1]]
*[[C1]]
 
*[[DELDIR]] - undelete directory
*[[CLASSPATH]] - Java runtim classpath
*[[COMSPEC]]
*[[COPYFROMFLOPPY]]
*[[DESKTOP]]
*[[DESKTOP]]
*[[DIRCMD]] - dir command options
*[[DIRCMD]] - dir command options
*[[DISPLAYTYPE]]
*[[DPATH (Environment variable)|DPATH]] - search path for data files
*[[DPATH (Environment variable)|DPATH]] - search path for data files
*[[ENH_STRETCH]] - enhanced stretch-blitting
*[[ENH_STRETCH]] - enhanced stretch-blitting
*[[ENH_SUSPEND]] - enhanced suspend option
*[[ENH_SUSPEND]] - enhanced suspend option
 
*[[GRADD_CHAINS]]
====Dlsini====
*[[GREEXT]]
Is used by the File and Print Client.
SET Dlsini=C:\Ibmlan\Netprog\Netgui.ini
 
====DSPPath====
If your soundcard contains a digital signal processor (DSP) then the Dsppath points to the directory that contains additional files for the DSP.
SET Dsppath=\Mmos2\dsp
 
====ETC====
In the Etc directory stores the OS/2 internet applications their configuration and log files.
SET ETC=E:\MPTN\ETC
 
===Help Manager===
====CpRef====
Used by the IBM OS/2 Programmer Toolkit. Defines which books should be shown in the Control Program Guide and Reference.
SET Cpref=Cp1.inf+cp2.inf+cp3.inf
 
====Glossary====
This variable points to the glossary directory. This directory contains the WPGLOSS.HELP file which is the general help index.
SET Glossary=C:\OS2\Help\Gloss
 
====GpiRef====
Used by the IBM OS/2 Programmer Toolkit. Defines which books should be shown in the Graphics Programming Guide and Reference.
SET Gpiref=Gpi1.inf+gpi2.inf+gpi3.inf
 
====Greext====
Is used by the Scitech Software Display Doctor for OS/2.
SET Greext=SDDGrext
 
====GU====
The GU variable sets up the path where the Graham Utilities are installed.
SET GU=C:\user\GU20
 
====Hardwarebitblt====
Enables the hardware "Bit Block Transmission", it is only supported by some graphics adapter device drivers.
SET Hardwarebitblt=Value
 
Parameters:
 
Value can be ON or OFF.
If this parameter is not set, it defaults to OFF
 
====HOARDPATH====
This used by the Mobile File Synchronization (MFS).
SET HoardPath=C:\Mfs\Bin\Hp
 
====HOME====
This used by many newer applications to have default directory to store configuration files.
SET HOME=C:\HOME\DEFAULT
 
====HOSTNAME====
Defines a name for your computer. You can choose any name you like. Some users reported that the program "Dial Other internet Provider" will work much better if you set up the Hostname, but I can't see any differences with or without the Hostname set up. It is needed also by XFree86/OS2.
SET HOSTNAME=MyHost
 
====I18NDIR====
Points to the older IBM I18N Toolkit. This is used by National Language support (NLS).
SET I18NDIR=C:\IBMI18N
 
===IBMWorks_Ini===
Here can you define the directory in that IBM Works stores the Ibmworks.ini file.
SET Ibmworks_ini=E:\BonusPak\ibmworks
 
===IKEY...===
====IKEYMAN40_HOME====
SET IKEYMAN40_HOME=<path>
ex: SET IKEYMAN40_HOME=C:\IBMGSK40
 
====IKEYMAN50_HOME====
SET IKEYMAN50_HOME=<path>
ex: SET IKEYMAN50_HOME=C:\IBMGSK50
 
====IKEYMAN_HOME====
SET IKEYMAN_HOME=<path>
ex: SET IKEYMAN_HOME=C:\IBMGSK
 
===Init_File_Names===
This is used by the File and Print Client.
SET Init_File_Names=netgui
 
===Init_File_Ranges===
This is used by the File and Print Client.
SET Init_File_Ranges=200
 
===IPFC===
Points to the IPF Compiler path, the location of the APSY*.APS and IPF*.NLS files.
SET Ipfc=C6colon.\Compiler\Ipfc4
 
===Include===
Used by various compilers. Defines the directries where the include files are stored.
SET Include=Path1;Path2, ...
 
Parameters:
 
Path can be any full path or any relative path.
If you define more than one path, they must be delimited with a semicolon.
 
===InfoPath===
Defines the directory where info files are stored. You need a info-browser to view info files. Info files contains documentation and they are used by some programs that are ported from Unix/Linux.
SET Info=Path1;Path2, ...
 
Parameters:
 
Path can be any full path.
 
note: Paths must be defined with Unix like forward slashes.
If you define more than one path, they must be delimited with a semicolon.
 
*[[IPF_KEYS]] - IPF key definitions
 
===Java===
====Java_Audio_Rate====
Controls the playback sample rate for Java audio.
SET Java_Audio_Rate=value
 
Parameters:
 
Value can be 8 or 11 or maybe some other values, but I have no more information.
A value of 8 sets the playback rate to 8000 samples per second.
A value of 11 sets the playback rate to 11025 samples per second.
If this parameter is not set it defaults to 8 .
 
Platform Support:
{|class="wikitable"
|-
!OS/2 2.x
!OS/2 3.0
!OS/2 4.0
!OS/2 4.5x
|-
|No
|Yes
|Yes
|Yes
|}
 
====Java_Audio_Volume====
This environment variable controls the default audio volume for Java applications.
SET Java_Audio_Volume=percentage
 
Default settings:
* SET Java_Audio_Volume=75
 
Parameters:
 
Percentage can be in the range from 0 to 100.
Default = 75
This value is expressed in percentage. If this parameter is not set it defaults to 75 .
 
Platform Support:
{| class="wikitable"
|-
!OS/2 2.x
!OS/2 3.0
!OS/2 4.0
!OS/2 4.5x
|-
|No
|Yes
|Yes
|Yes
|}
 
====Java_Clock_Resolution====
The environment variable Java_CLOCK_RESOLUTION allows you to specify the timer resolution you require from the currentTimeMillis method in the Java.lang.System class.
SET Java_Clock_Resolution=value
 
Parameters:
 
Value can be in the range from 1 to ?.
This value is expressed in milliseconds. If this parameter is not set it defaults to 10 .
 
The timer resolutions available are dependent on those provided by the OS/2 system. The Java system rounds down to the nearest available resolution. 1 millisecond is always available and is the highest resolution available. The default for Java_Clock_Resolution is 10 milliseconds, and this is generally rounded to 1 millisecond accuracy.
If you need to ensure that the best Java performance is obtained when using currentTimeMillis, SET Java_Clock_Resolution = 32. This can be important when running Java benchmarks.
 
Platform Support:
{| class="wikitable"
|-
!OS/2 2.x
!OS/2 3.0
!OS/2 4.0
!OS/2 4.5x
|-
|No
|Yes
|Yes
|Yes
|}
 
====Java_Compiler====
With this variable can you set up the Just-In-Time (JIT) compiler that Java should use. If you want to disable the JIT than use a non-existing name, specify blanks for the name if you want to suppress the "Unable to load DLL" popup message. But it is not recommended to turn of the JIT, because this will decrease the speed of Java applications.
SET Java_Compiler=name
 
Parameters:
 
Name can be any JIT compiler.
If this parameter is not set it defaults to JavaX.
 
Platform Support:
{| class="wikitable"
|-
!OS/2 2.x
!OS/2 3.0
!OS/2 4.0
!OS/2 4.5x
|-
|No
|Yes
|Yes
|Yes
|}
 
====Java_Connect_Timeout====
Adjusts the amount of time to wait for a network connection before reporting a timeout.
SET Java_Connect_Timeout=seconds
 
Default settings:
* SET Java_Connect_Timeout=30
 
Parameters:
 
Value can be in the range from 1 to .
Default = 30
This value is expressed in seconds. If this parameter is not set it defaults to 30 .
 
Platform Support:
{| class="wikitable"
|-
!OS/2 2.x
!OS/2 3.0
!OS/2 4.0
!OS/2 4.5x
|-
|No
|Yes
|Yes
|Yes
|}
 
====Java_Console====
When SET specifies that Java programs executed using "Javapm" and "applet" will be run with a Java console.
SET Java_Console=value
 
Parameters:
 
Value can be only 1 .
If this variable is not set, the console is not used.
 
Platform Support:
{| class="wikitable"
|-
!OS/2 2.x
!OS/2 3.0
!OS/2 4.0
!OS/2 4.5x
|-
|No
|Yes
|Yes
|Yes
|}
 
====JAVA_HIGH_MEMORY====
Since Java 1.18, activates High Memory Support.
 
ex: SET JAVA_HIGH_MEMORY=1
 
'''NOTE:''' VIRTUALADDRESSLIMIT=2048 needs also to be set, otherwise this setting will be ignored. TCP 4.1 or higher must be installed.
 
'''NOTE:''' Customers who have had an "Out of memory" or SYS0008 problems on systems using Java should add this line.
 
'''Platform Support:'''
{| class="wikitable"
|-
!OS/2 2.x
!OS/2 3.0
!OS/2 4.0
!OS/2 4.5x
|-
|No
|Yes
|Yes
|Yes
|}
 
====Java_Home====
This variable points to the root directory of your Java runtime.
SET Java_Home=<path>
 
'''Parameters:'''
 
Path can be any full path with drive letter .
There are no default settings.
 
'''Platform Support:'''
{| class="wikitable"
|-
!OS/2 2.x
!OS/2 3.0
!OS/2 4.0
!OS/2 4.5x
|-
|No
|Yes
|Yes
|Yes
|}
 
====Java_Map_Accel====
Specifies the accelerator character which Java should map to the OS/2 accelerator character for menu items and buttons.
SET Java_Map_Accel=value
 
Parameters:
 
Value can be any character.
To turn off the accelerator character mapping, specify a tilde(~).
If this parameter is not set it defaults to amp .
 
Platform Support:
{| class="wikitable"
|-
!OS/2 2.x
!OS/2 3.0
!OS/2 4.0
!OS/2 4.5x
|-
|No
|Yes
|Yes
|Yes
|}
 
====Java_NLS_SBCS====
Specifies that Java should run in single byte character set (SBCS) mode even in double byte character set (DBCS) environments.
SET Java_NLS_SBCS=value
 
Parameters:
 
Value can be only 1.
There are no default settings.
Platform Support:
{| class="wikitable"
|-
!OS/2 2.x
!OS/2 3.0
!OS/2 4.0
!OS/2 4.5x
|-
|No
|Yes
|Yes
|Yes
|}
 
====Java_NoPrintDlg====
When you set up this, Java will dismiss the printer properties dialog before printing.
  SET Java_NoPrintDlg=value
 
Parameters:
 
Value can be only 1
If this variable is not set up in your CONFIG.SYS file, Java will show the printer properties dialog everytime you print from a Java application.
 
Platform Support:
{| class="wikitable"
|-
!OS/2 2.x
!OS/2 3.0
!OS/2 4.0
!OS/2 4.5x
|-
|No
|Yes
|Yes
|Yes
|}
 
====Java_Old_Char_Spacing====
The character spacing in strings which use characters from different codepages has been improved in the Java-Version "JDK 1.1.7A IBM build o117-19990506". It is possible that this will adversely affect the display and printing of some character strings in existing applications. The old spacing can be retained by setting this environment variable to ON.
SET Java_Old_Char_Spacing=value
 
Parameter:
 
Value can be ON or OFF.
 
If you want to use the old spacing than use SET Java_OLD_CHAR_SPACING=ON.
 
Platform Support:
{| class="wikitable"
|-
!OS/2 2.x
!OS/2 3.0
!OS/2 4.0
!OS/2 4.5x
|-
|No
|Yes
|Yes
|Yes
|}
 
====Java_User====
The User variable points to the user specific directory. This directory should contain user specific configurations and settings. It is the same as the "Home" variable on other Java platforms.
SET Java_User=path
 
Parameters:
 
Path can be any full path with drive letter.
There are no default settings.
 
====Java_WebLogs====
This variable will set the path to the directory into which the Java runtime will write weblog files for each started Java process.
  SET Java_Weblogs=Path
 
Parameters:
 
Path can be any full path with drive letter.
If this parameter is not set it defaults to the Weblogs directory under the Java directory .
 
*[[KEYS]] - command line history
*[[KEYS]] - command line history
*[[LANG]] - country-specific settings
*[[LANG]] - country-specific settings
*[[OBJECTSNOOZETIME]]
*[[OS2_SHELL]] - command line shell
*[[PATH]] - search path for executable files
*[[PROMPT (Environment variable)|PROMPT]] - OS/2 session prompt appearance.
*[[RUNWORKPLACE]]
*[[ULSPATH]]
*[[VIDEO_DEVICES]]
*[[VIO_MGA]]
*[[VIO_SVGA]]


===Laninstep===
===PM===
This is part of the remote install (CID) setup.
*[[BACKGROUNDBITMAP]]
SET Laninstep=C:\Cid\Img\Ibmpeer
*[[BACKGROUNDBITMAP2]]
*[[BACKGROUNDBITMAPDELAY]]
*[[BACKGROUNDBITMAPDELAY2]]
*[[DEVICEFONTDISABLED]]
*[[HARDWAREBITBLT]]
*[[NCDEBUG]]
*[[PM_ASYNC_FOCUS_CHANGE]]
*[[PM_DYNAMIC_DRAG]]
*[[PM_ROLLUP_BUTTON]]
*[[QUEUE_SIZE_THRESHOLD]]
*[[SYSTEM_INI]] - Tells the system the path and name of the System INI file.
*[[USER_INI]]
*[[VCFG_NO_DDC]] - GRADD DDC


===LASTDRIVE===
===Help Manager===
This specifies the last valid drive letter for DOS or Windows sessions.
*[[BOOKSHELF]] - help manager search path for book shelves
SET LASTDRIVE=drive
*[[GLOSSARY]]
*[[HELP (Environment variable)|HELP]]
*[[HELPNDX]] - Help index


Parameters:
===Workplace Shell===
 
*[[AUTOREFRESHFOLDERS]] - automatic refresh of folders
Value can be any letter from C to Z.
*[[AUTOSTART]] - autostart of objects
 
*[[MENUSTYLE]] - context menu entries
===Lib===
*[[NEWNOTEBOOKS]]
Used by various compilers. Points to the directories where lib files are stored.
*[[NOLARGENTEXEICON]]
SET Lib=Path1;Path2, ...
*[[RESTARTOBJECTS]]
 
*[[SHAPIEXCEPTIONHANDLER]]
Parameters:
*[[SHELLEXCEPTIONHANDLER]] - Disable the WPS exception handler.
 
*[[SHELLHANDLESINC]] - Increases the number of file handles.
Path can be any full path.
*[[SHOWEXTENDEDPOWERMENU]] - Intel SpeedStep
If you define more than one path, they must be delimited with a semicolon.
*SOMDDIR
 
*[[SOMIR]]
===LIBC_HOOK_DLLS===
*[[WPDSERVERSTART]]
SET LIBC_HOOK_DLLS=<path>
 
===Library_Path===
Points to the path where the EMX C Compiler stores the lib files.
SET Library_Path=Path
 
Parameters:
 
Path can be any full path. If you have several paths they must be delimited by a semicolon.
 
Note: You must use the Unix-like forwardslashes instead of the backslashes. See the example below:
SET Library_Path=c:/emx/lib
 
 
===LocPath===
The Locpath tells OS/2 were to find the language files. These files are needed for different languages.
SET Locpath=E:\IBMI18N\LOCALE;E:\LANGUAGE\LOCALE
 
Parameters:
 
If you have several Paths you must delimit them with a semicolon.
 
===LOGFILES===
New with eCS 1.1 - points to the log directory.
SET LOGFILES=<path>
 
ex: SET LOGFILES=C:\var\log
 
'''Platform Support:'''
{| class="wikitable"
|-
!OS/2 2.x
!OS/2 3.0
!OS/2 4.0
!OS/2 4.5x
|-
|No
|Yes
|Yes
|Yes
|}
 
===LOGNAME===
Needed by some XFree86/OS2 programs. The XFree86/OS2 documentation says that this variable may be used in the future. The Logname should be set to the same username as in SET User defined.
SET LOGNAME=Oliver
 
===Lotus_CLS===
Is used by the Lotus Smartsuite.
SET Lotus_CLS=Path
 
Parameters:
 
Path can be any full path.
 
Platform Support:
{| class="wikitable"
|-
!OS/2 2.x
!OS/2 3.0
!OS/2 4.0
!OS/2 4.5x
|-
|No
|Yes
|Yes
|Yes
|}
 
===MGA===
This is used by Matrox graphic cards. Defines the path to the Matrox directory.
SET MGA=path
 
Parameters:
 
Path can be any full path.
 
===MANPATH===
Needed by XFree86/OS2. Defines the path where the man (manual) files are installed.
SET MANPATH=E:/user/emx/XFree86/man
 
note: Please use the Unix like forward slash as the directory separator!
 
===MENUSTYLE===
With this variable you can delete some entries from the popup menu of folders such as Help, New, Move, Copy, and Delete.
 
note:
In Warp 4.0 you can change this from the system settings notebook.
SET MENUSTYLE=value
 
Parameters:
 
Value can be SHORT or LONG.
If this variable is not set it defaults to LONG.


;WarpCenter
*[[MENUSFOLLOWPOINTER]] - WarpCenter menu behaviour
*[[MENUSFOLLOWPOINTER]] - WarpCenter menu behaviour
*[[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.


===MFSCACHE===
===Multimedia===
Defines the path to the Cache directory for Mobile File Synchronization.
*[[DSPPATH]]
SET MFSCACHE=path
*[[MMBASE]]
 
*[[MMSTREAM]]
Parameters:
*[[MMTYPESEXTS]]
Path can be any full path.
*[[MMVWRLOG]]
 
*[[MMWPSLOG]]
===MMBASE===
*[[MMYIELD]]
Sets up the base directory for OS/2s multimedia programs.
SET MMBASE=C:\MMOS2
 
'''Platform Support:'''
{| class="wikitable"
|-
!OS/2 2.x
!OS/2 3.0
!OS/2 4.0
!OS/2 4.5x
|-
|No
|Yes
|Yes
|Yes
|}
 
===MMSTREAM===
SET MMSTREAM=<parameter>
ex:
SET MMSTREAM=/S:64 /P:64 /H:256 /Q:1024 /E:1024
 
'''Parameter:'''
 
* /S:sss
Specifies the number of streams that can be created at the same time. Values range from 1 through 64. The default value for machines with more than 8MB of memory is 12. The default value for machines with 8MB of memory or less is 6.
 
* /P:ppp
Specifies the number of processes that can create streams at the same time. Values range from 1 through 64. The default value for machines with more than 8MB of memory is 12. The default value for machines with 8MB of memory or less is 6.
 
* /H:hhh
Specifies the maximum amount of heap space (KB) that will be used. Values range from 16 through 256; the default value is 64.
 
* /Q:qqq
Specifies the size of the event queue (per process). Values range from 2 through 1024; the default value is 64.
 
* /E:eee
Specifies the number of events that can be enabled (per stream). Values range from 1 through 1024. The default value for machines with more than 8MB of memory is 32. The default value for machines with 8MB of memory or less is 20.
 
'''Platform Support:'''
{| class="wikitable"
|-
!OS/2 2.x
!OS/2 3.0
!OS/2 4.0
!OS/2 4.5x
|-
|No
|Yes
|Yes
|Yes
|}
 
===MMREF===
Used by the IBM OS/2 Programmer Toolkit. Defines which files should be shown in the Multimedia Programming Reference.
SET Mnref=Mmref1.inf+mmref2.inf+mmref3.inf
 
===MMTYPESEXTS===
Undocumented variable for MMOS2.
 
===MMVWRLOG===
Undocumented variable for MMOS2.
SET MMVWRLOG=<path:\file>
 
===MMWPSLOG===
Undocumented variable for MMOS2.
SET MMWPSLOG=<path:\file>
 
===MMYIELD===
ex: SET MMYIELD=10
 
===MOZ===
These are the SET Statements for Mozilla Firefox and Thunderbird.
 
====MOZ_PLUGIN_PATH====
This statement is to separate the locations of the plugins for Firefox.
SET MOZ_PLUGIN_PATH=<path>
 
Platform Support:
{| class="wikitable"
|-
!OS/2 2.x
!OS/2 3.0
!OS/2 4.0
!OS/2 4.5x
|-
|No
|???
|Yes
|Yes
|}
 
====MOZILLA_HOME====
This statement is to separate the locations of the user profiles in Firefox and Thunderbird.
SET MOZILLA_HOME=<path>
 
Parameters:
Full path of the location of the profile.
 
Platform Support:
{| class="wikitable"
|-
!OS/2 2.x
!OS/2 3.0
!OS/2 4.0
!OS/2 4.5x
|-
|No
|?
|Yes
|Yes
|}
 
====MOZ_NO_REMOTE====
Allows to run two instances of Firefox or Thunderbird simultaneously.
SET MOZ_NO_REMOTE=1
 
Parameters:
 
Platform Support:
{| class="wikitable"
|-
!OS/2 2.x
!OS/2 3.0
!OS/2 4.0
!OS/2 4.5x
|-
|No
|???
|Yes
|Yes
|}
 
====MOZILLA_USE_EXTENDED_FT2LIB====
Enables special functions in Firefox and Thuderbird to handle Unicode characters, if you have Innotek Font Engine installed.
SET MOZILLA_USE_EXTENDED_FT2LIB=T
 
Parameters:
 
Platform Support:
{| class="wikitable"
|-
!OS/2 2.x
!OS/2 3.0
!OS/2 4.0
!OS/2 4.5x
|-
|No
|???
|Yes
|Yes
|}
 
===NcDebug===
This environment variable is used as a workaround for a bug in Lotus-123s video and audio play back function.
SET Ncdebug=4000
 
===NetView_Path===
Defines the path where the SystemView client is installed.
SET NetView_Path=path
 
Parameters:
 
Path can be any full path.
 
===NEWNOTEBOOKS===
Enables the new notebooks for applications written prior to WARP 4. This setting worked in the MERLIN Beta, but seems to be disabled in Warp 4 GA. (WARP 4 only!)
SET NEWNOTEBOOKS=ON
 
Parameters: "ON"
 
Platform Support:
{|class="wikitable"
|-
!OS/2 2.x
!OS/2 3.0
!OS/2 4.0
!OS/2 4.5x
|-
|No
|No
|No
|No
|}
 
===NlsPath===
This variable is used somewhere with the National language support for the network and internet applications coming with OS/2.
SET Nlspath=E:\MPTN\MSG\NLS\%N;e:\tcpip\msg\dede850\%N;
 
===NntpServer===
This is used by the Newsserver Changi.
SET NntpServer=value
 
Parameters:
 
===NSPR_OS2_NO_HIRES_TIMER===
This is used by Mozilla Firefox and Thunderbird. This causes that firefox and Thunderbird not use the OS/2's high resolution timer.
SET NSPR_OS2_NO_HIRES_TIMER=1
Set this if other applications using the high resolution timer (multimedia apps) act strangely.
 
Parameters:
 
'''Platform Support:'''
{| class="wikitable"
|-
!OS/2 2.x
!OS/2 3.0
!OS/2 4.0
!OS/2 4.5x
|-
|No
|???
|Yes
|Yes
|}
 
===NOLARGENTEXEICON===
Defines the amount of megabytes OS/2 scans in large Windows files for showing the icon. May be added for shortening the time until the WPS displays folders containing windows files
SET NOLARGENTEXEICON=<n>
ex: SET NOLARGENTEXEICON=1
Parameters
*<n> = In MBytes
 
'''Platform Support:'''
{| class="wikitable"
|-
!OS/2 2.x
!OS/2 3.0
!OS/2 4.0
!OS/2 4.5x
|-
|No
|?
|Yes
|Yes
|}
 
===Nwdbpath===
This line is used by the File and Print Client.
SET NwdbPath=path
 
Parameters:
 
Path can be any full path.
 
===Object Desktop===
This are the Set Statements used in the Stardock Object Desktop application.
 
====Objd_AllVisible====
This environment variable is used by the Object Desktop from Stardock. Allows all invisible objects to be in Control Center browser objects.
SET Objd_AllVisible=1
 
Parameters:
 
====Objd_AutoTileNav====
This environment variable is used by the Object Desktop from Stardock. Enables the Norton Commander look in the Object Navigator window.
SET Objd_AutoTileNav=1
 
Parameters:
 
====Objd_DisableFastMove====
This environment variable is used by the Object Desktop from Stardock. Whith this optiion enabled, the Control Center will switch between virtual desktops with a slow and safe method, this prevents Traps which may occour with Warp3 FP16-FP18.
SET Objd_DisableFastMove=1
 
Parameters:
 
====Objd_Log====
This environment variable is used by the Object Desktop from Stardock. When this is set up, trap logs are automatically written to the objdtrap.log file, whenever an error occurs.
SET Objd_Log=Auto
 
Parameters:
 
====Objd_NoDiskAsFolders====
This environment variable is used by the Object Desktop from Stardock. Allows all WPDisk objects in Control Center browser object to be treated as Object Desktop 1.0 disk objects.
SET Objd_NoDiskAsFolders=1
 
Parameters:
 
====Objd_NoF12Rollup====
This environment variable is used by the Object Desktop from Stardock. Disables ALT-F12 roll-up accelerator.
SET Objd_NoF12Rollup=1
 
Parameters:
 
====Objd_OnavFullMenus====
This environment variable is used by the Object Desktop from Stardock. With this option set, the Object Navigator will show copy, move ... in its context menu.
SET Objd_OnavFullMenus=1
 
Parameters:
 
====Objd_UrlNoOpen====
This environment variable is used by the Object Desktop from Stardock. Disables URL open processing for Stardock Internet Shell Objects.
SET Objd_URLNoOpen=1
 
Parameters:
 
====Objd_UrlNoPaint====
This environment variable is used by the Object Desktop from Stardock. Disables URL underline painting for Stardock Internet Shell Objects.
SET Objd_URLNoPaint=1
 
Parameters:
 
===ObjectSnoozeTime===
Defines the time for that not used DLLs are hold in memory.
SET ObjectSnoozeTime=Value
 
Parameters:
 
Value is the time in seconds.
Standard: 90 seconds.
 
===OpenDoc===
These are the Set Statements used in the IBM OS/2 Developers Toolkit
 
====ODBase====
This line is used by the IBM OS/2 Developers Toolkit. It defines a path for Opendoc.
SET Odbase=path
 
Parameters:
 
Path can be any full path. If you have several paths they must be delimited by a semicolon.
 
====ODBasePaths====
This line is used by the IBM OS/2 Developers Toolkit. It defines a path for Opendoc.
SET OdbasePaths=path
 
Parameters:
 
Path can be any full path. If you have several paths they must be delimited by a semicolon.
 
====ODCfg====
This line is used by the IBM OS/2 Developers Toolkit. It defines a path for Opendoc.
SET Odbase=path
 
Parameters:
 
Path can be any full path. If you have several paths they must be delimited by a semicolon.
 
====ODParts====
This line is used by the IBM OS/2 Developers Toolkit. It defines a path for Opendoc.
SET OdParts=path
 
Parameters:
 
Path can be any full path . If you have several paths they must be delimited by a semicolon.
 
====ODPartsPaths====
This line is used by the IBM OS/2 Developers Toolkit. It defines a path for Opendoc.
SET OdPartsPaths=path
 
Parameters:
 
Path can be any full path. If you have several paths they must be delimited by a semicolon.
 
====ODSrc====
This line is used by the IBM OS/2 Developers Toolkit. It defines a path for Opendoc.
SET OdSrc=path
 
Parameters:
 
Path can be any full path. If you have several paths they must be delimited by a semicolon.
 
====ODSrcPaths====
This line is used by the IBM OS/2 Developers Toolkit. It defines a path for Opendoc.
SET OdSrcPaths=path
 
Parameters:
 
Path can be any full path . If you have several paths they must be delimited by a semicolon.
 
====ODTMP====
This line is used by the IBM OS/2 Developers Toolkit. It defines a path for Opendoc.
SET ODTMP=<path>
 
Parameters:
 
Path can be any full path . If you have several paths they must be delimited by a semicolon.
 
===ONCMD_DIR===
This is points to the path where the Database OnCmd is installed.
SET ONCMD_DIR=<path>
 
Parameters:
 
Path can be any full path .
 
===OS2_SHELL===
This variable sets up the command line shell for OS/2.
SET OS2_SHELL=C:\OS2\CMD.EXE
 
'''Note:''' OS/2 will not start without this variable
 
'''Parameters:'''
 
* /K C:\PROGRAM
Starts cmd.exe together with a program (program could be any executable program).
 
* /S
Disables CTRL+C. No interrupt for programs possible.
 
* /Q
NO ECHO
 
* /C PROGRAM
Starts a second command processor with a program. After execution of the program (e.g. DIR A:) return to the first command processor.
 
'''TIP:''' If you wish to run some other command line shell, such as 4OS2, change this line and the SET COMSPEC=C:\OS2\CMD.EXE line, substituting the appropriate EXE file for CMD.EXE.
 
Value can be any command shell with a full path.
 
===OS===
Setting for dmake - a make program by Ariel Shkedi.
ex: SET OS=ecs
ex: SET OS=OS2
 
'''Platform Support:'''
{| class="wikitable"
|-
!OS/2 2.x
!OS/2 3.0
!OS/2 4.0
!OS/2 4.5x
|-
|No
|No
|Yes
|Yes
|}
 
===OSDIR===
Describes the path where the operating system is installed.
SET OSDIR=<path>
 
ex: SET OSDIR=C:\ecs
 
*[[PATH]] - search path for executable files
 
===PM_===
====PM_ASYNC_FOCUS_CHANGE====
Enables the fix for single input queue and sets the timeout.
note: On Warp 4.0 you can change this with the system settings notebook.
SET PM_ASYNC_FOCUS_CHANGE=<value>
 
Parameters:
 
Value can be ON or OFF or a value expressed in milliseconds .
 
* SET PM_ASYNC_FOCUS_CHANGE=ON
Activate the single input queue fix and set the timeout to 2000 ms.
 
*SET PM_ASYNC_FOCUS_CHANGE=OFF
Deactivate the single input queue fix.
 
*SET PM_ASYNC_FOCUS_CHANGE=1000
Activate the single input queue fix and set the timeout to 1000 ms.
 
Value can be any full path. Relative paths are not allowed.
 
Platform Support:
{| class="wikitable"
|-
!OS/2 2.x
!OS/2 3.0
!OS/2 4.0
!OS/2 4.5x
|-
|No
|FP17
|Yes
|Yes
|}
 
====PM_DYNAMIC_DRAG====
Activates the full drag feature of all Presentation Manager windows.
SET PM_DYNAMIC_DRAG=<value>
 
Parameters:
 
Value can be ON or OFF.
 
Platform Support:
{| class="wikitable"
|-
!OS/2 2.x
!OS/2 3.0
!OS/2 4.0
!OS/2 4.5x
|-
|No
|With Fixpak 17
|Yes
|Yes
|}
 
====PM_ROLLUP_BUTTON====
Adds a new button to the window titlebars that you can use to "Roll up your PM windows to just a titlebar". This setting worked in the MERLIN Beta, but seems to be disabled in WARP 4 GA. (WARP 4 only!, Source: Team OS/2 WEB pages)
SET PM_ROLLUP_BUTTON=YES
 
===PMAS===
These are the Set Statements for the astronomy program PMAS.
 
====PMAS_Lang====
This is used by the astronomy program PMAS. It defines which language the program uses.
SET Pmas_Lang=value
 
Parameters:
* Value can be EN or DE.
* Value can be any full path. Relative paths are not allowed.
 
===PMREF===
Used by the IBM OS/2 Programmer Toolkit. Defines which books should be shown in the Presentation Manager Guide and Reference.
SET PMREF=Pm1.inf+pm2.inf+pm3.inf+pm4.inf+pm5.inf
 
Value can be any full path. Relative paths are not allowed.
 
===PROGRAMS===
Define the path for program installation in eComStation 1.1.
SET PROGRAMS=<path>
 
ex: SET PROGRAMS=C:\PROGRAMS
 
*[[PROMPT (Environment variable)|PROMPT]] - OS/2 session prompt appearance
 
===PSIDATADIR===
Set Statement for the PSI jabber client program. This statement allow to change the default profile path to other one.
SET PSIDATADIR=<path>
 
Value can be any full path.
 
===PNHOSTNAME===
Pronews use the value of this variable as the hostname in the message-ID in outgoing news articles.
SET PNHOSTNAME=myprovider.net
 
Value can be any full path . Relative paths are not allowed.
 
===QT_PM_NO_DIVE===
This statement is used by the QT library. It has been reported to help with some screen redraw problems.
SET QT_PM_NO_DIVE=1
 
; Parameter: Value can be 1 or 0. It defines 1=On, 0=Off.
 
'''Platform Support:'''
{|class="wikitable"
|-
!OS/2 2.x
!OS/2 3.0
!OS/2 4.0
!OS/2 4.5x
|-
|?
|?
|Yes
|Yes
|}
 
===Queue_Size_Threshold===
Controls the size of the OS/2-Message-Queue.
SET Queue_Size_Threshold=Value
 
Parameter:
 
Value defines the number of messages which can be together at one time in the message-queue.
Standard: 3000 messages, Warp 3 befor Fixpack 17: 100 messages.
 
Value can be any full path. Relative paths are not allowed.
 
===RESTARTOBJECTS===
This variable controls the restart of programs at start up.
SET RESTARTOBJECTS=parameter
 
;Default settings:
* SET RESTARTOBJECTS=YES
 
;Parameters:
* Yes - This enables restarting of all running programs. All running processes and all open folders at shutdown will be restarted at start up.
* No - The system starts no programs and opens no folders at start up.
* StartUpFoldersOnly - Only programs in the startup folder will be started.
* ReBootOnly -Restarts programs only after a normal reboot or power on.
 
Value can be any full path. Relative paths are not allowed.
 
===RUNWORKPLACE===
This variable defines the user interface program (the WPS).
SET RUNWORKPLACE=C:\OS2\PMSHELL.EXE
 
Parameters:
 
Value can be any shell with a full path.
Value can be any full path. Relative paths are not allowed.
 
'''ATSHELL''':
 
This variable change the user interface program to load at boot, and replace it with Atshell program.
SET RUNWORKPLACE=x:\path\ATSHELL.EXE
where x:\path is wherever ATSHELL.EXE is placed.
 
Parameters:
 
* /Q 
This causes the desktop shell to be launched immediately when ATSHELL  first starts up, without displaying the ATSHELL dialog.  (The ATSHELL dialog will appear, however, when/if you close the desktop shell program.)
* /S 
This enables a simple 'secure' mode.  When ATSHELL is started with this parameter, the command prompt and configuration options are disabled and inaccessible.  USE THIS OPTION WITH CAUTION -- if you don't have an alternative method of booting (such as boot diskettes or a maintenance partition), you won't have any way of changing the  configuration (or even removing ATSHELL from CONFIG.SYS), unless the desktop (or startup) program itself gives you access to a command  prompt.  Alternatively, you can use this in conjunction with the multi-user local logon feature of Security/2, by setting 'atshell /s' as the local shell for non-privileged users, and keeping the WPS (or something else) for the system administrator.
 
===SANE_CONFIG_DIR===
Describes the configuration directory path for the SANE program. Points to the installation directory of the OS/2 SANE driver (*.conf). Regard the use of slashes (/).
SET SANE_CONFIG_DIR=<path>
ex: SET SANE_CONFIG_DIR=C:\PROGRAMS\TAME\conf
 
===WarpCenter===
====SCCANBENUKED====
Allows the Warpcenter to have a delete option on its context menu.
SET SCCANBENUKED=value
or
SET CANBENUKED=value
 
Parameters:
 
Value can be ON or 1 or OFF or 0 .
If this parameter is not set it defaults to OFF
 
Value can be any full path . Relative paths are not allowed.
 
'''Platform Support:'''
{| class="wikitable"
|-
!OS/2 2.x
!OS/2 3.0
!OS/2 4.0
!OS/2 4.5x
|-
|No
|No
|Yes
|Yes
|}
 
====SCFINDUTILITY====
With this entry you can use a different search program in the Warpcenter. By default, the Warpcenter starts a very slow program when you press this button Warpcenter Find Button In the \OS2\APPS directory is the fast find utility PMSeek.exe which you can use instead of the default program.
SET SCFINDUTILITY=<value>
or
SET FINDUTILITY=<value>
 
'''Parameters:'''
 
Value can be any program with a full path or object-id.
If this parameter is not set the default find utility is used.
 
'''Example:'''
SET SCFINDUTILITY=Programe_Name.exe
 
Platform Support:
{| class="wikitable"
|-
!OS/2 2.x
!OS/2 3.0
!OS/2 4.0
!OS/2 4.5x
|-
|No
|No
|Yes
|Yes
|}
 
====SCKILLCONFIRMDISABLED====
Avoid the "Are you sure ..." dialog if using the Warpcenter kill feature. :Note. You must also have the SET SCKILLFEATUREENABLED variable installed.
 
  SET SCKILLCONFIRMDISABLED=value
or
  SET KILLCONFIRMDISABLED=value
 
'''Parameters:'''
 
Value can be ON or 1 or OFF or 0 .
If this parameter is not set it defaults to OFF
 
'''Example:'''
 
  SET SCKILLCONFIRMDISABLED=ON
 
Platform Support:
{| class="wikitable"
|-
!OS/2 2.x
!OS/2 3.0
!OS/2 4.0
!OS/2 4.5x
|-
|No
|No
|Yes
|Yes
|}
 
====SCKILLFEATUREENABLED====
This entry enables you to use the Warpcenter window list Warpcenter Window List as an application killer. To kill an application you must hold down the key and click the left mouse button on the window list icon on the Warpcenter. A drop down menu appears and you can then select the process you want to kill. If you have selected a process, the system will ask you if you really want to kill the process.
SET SCKILLFEATUREENABLED=value
or
SET KILLFEATUREENABLED=value
 
'''Parameters:'''
 
Value can be ON , 1 , OFF or 0.
If this parameter is not set it defaults to OFF
 
Value can be any full path. Relative paths are not allowed.
 
'''Example'''
SET SCKILLFEATUREENABLED=ON
or
SET KILLFEATUREENABLED=ON
 
Platform Support:
{| class="wikitable"
|-
!OS/2 2.x
!OS/2 3.0
!OS/2 4.0
!OS/2 4.5x
|-
|No
|No
|Yes
|Yes
|}
 
====SCUSEPRETTYCLOCK====
With this entry you can change the look of the Warpcenter clock to this: Warpcenter Clock.
It replaces the normal Warpcenter clock with one that has a digital display.
SET SCUSEPRETTYCLOCK=<value>
or
SET USEPRETTYCLOCK=<value>
 
;Example:
SET SCUSEPRETTYCLOCK=ON
 
;Parameters:
Value can be ON or 1 or OFF or 0.
If this parameter is not set the default clock is used.
 
Value can be any full path. Relative paths are not allowed.
 
'''Platform Support:'''
{|class="wikitable"
|-
!OS/2 2.x
!OS/2 3.0
!OS/2 4.0
!OS/2 4.5x
|-
|No
|No
|Yes
|Yes
|}
 
===SDD===
These are the Set Statements used by the Scitech Software Display Doctor for OS/2.
 
====SDDFONTDPI====
This variable is used by the Scitech Software Display Doctor for OS/2. The Display Doctor is a universal driver for almost every graphiccard and currently in BETA test. Here can you change the logical Dots Per Inch (DPI) for matching the logical font point sizes to real pixel sizes.
 
SET SDDFONTDPI=value
 
; Parameters: Value can be 96 or 120. 96 DPI is usually used for small fonts and 120 DPI for large fonts.
If this variable is not set the default of 96 is used.
 
Value can be any full path. Relative paths are not allowed.
 
====SDDFONTSIZE====
This variable is used by the Scitech Software Display Doctor for OS/2. The Display Doctor is a universal driver for almost every graphiccard and currently in BETA test. Here can you choose small, medium or large fonts.
 
SET SDDFONTSIZE=value
 
; Parameters: Value can be small or medium or large.
If this variable is not set the default small fonts are used.
 
Value can be any full path. Relative paths are not allowed.
 
====SDDHRes====
This variable is used by the Scitech Software Display Doctor for OS/2. The Display Doctor is a
universal driver for almost every graphiccard and currently in BETA test. Here can you set up the horizontally Pels Per Meter (PPM), this is used to determine scaling between pixels and millimeter on the screen.
SET SDDHRes=value
 
Parameters:
 
Value can be pels per meter.
If this variable is not set the SDD will compute the best value of this setting for you. Usually it is not needed to set this variable.
 
Value can be any full path. Relative paths are not allowed.
 
====SDDICONS====
This variable is used by the Scitech Software Display Doctor for OS/2. The Display Doctor is a universal driver for almost every graphiccard. With this environment variable can you change the Icon size on the desktop.
 
SET SDDICONS=value
 
Parameters:
 
Value can be small or large.
Small icons are 32x32 pixels and large icons are 40x40 pixels.
If this variable is not set the default small icons are used.
 
Value can be any full path. Relative paths are not allowed.
 
====SDDVRES====
This variable is used by the Scitech Software Display Doctor for OS/2. The Display Doctor is a universal driver. Here can you set up the vertically Pels Per Meter (PPM), this is used to determine scaling between pixels and millimeter on the screen.
 
SET SDDVRES=value
 
Parameters:
 
Value can be pels per meter.
If this variable is not set the SDD will compute the best value of this setting for you. Usually it is not needed to set this variable.
 
Value can be any full path. Relative paths are not allowed.
 
===SHAPIEXCEPTIONHANDLER=OFF===
Disable the WPS API exception handler.
SET SHAPIEXCEPTIONHANDLER=OFF
 
Note: This directive seems to be an environment variable in WARP 3 with Fixpack #36 and WARP 4 with Fixpack #5. This means that you have to use the format "SET SHAPIEXCEPTIONHANDLER=OFF". On older releases it had to be only "SHAPIEXCEPTIONHANDLER=OFF"
 
Platform Support:
{| class="wikitable"
|-
!OS/2 2.x
!OS/2 3.0
!OS/2 4.0
!OS/2 4.5x
|-
|
|*
|*
|Yes
|}
 
===SHELLEXCEPTIONHANDLER=OFF===
Disable the WPS exception handler.
SET SHELLEXCEPTIONHANDLER=OFF 
 
Note: This directive seems to be an environment variable in WARP 3 with Fixpack #36 and WARP 4 with Fixpack #5. This means that you have to use the format "SET SHELLEXCEPTIONHANDLER=OFF ". On older releases it had to be only "SHELLEXCEPTIONHANDLER=OFF"
 
<b>Platform Support:</b>
{| class="wikitable"
|-
!OS/2 2.x
!OS/2 3.0
!OS/2 4.0
!OS/2 4.5x
|-
|
|*
|*
|Yes
|}
 
===ShellHandlesINC===
Increases the number of file handles.
SET ShellHandlesINC=Value
 
Parameter:
 
Value is the number of handles by which the standard number of handles per shell process are increased. With a standard of 30 handles and SET ShellHandlesINC=20, 50 file handles (30 + 20) are available to each shell process.
 
Value can be any integer between 0 and approximately 255, but highly dependent upon available memory.
 
This setting is only available beginning with Warp 4 Fixpack #6.
 
Platform Support:
{| class="wikitable"
|-
!OS/2 2.x
!OS/2 3.0
!OS/2 4.0
!OS/2 4.5x
|-
|
|
|FP6+
|Yes
|}
 
===OS/2 SOM===
OS/2 SOM Set Statements.
 
====SMADDSTAR====
Used by OS/2 SOM.
SET SMADDSTAR=1
 
Value can be any full path. Relative paths are not allowed.
 
====SMCLASSES====
Used by OS/2 SOM.
SET SMCLASSES=Wptypes.idl
 
Value can be any full path. Relative paths are not allowed.
 
====SMEMIT====
Used by OS/2 SOM.
SET SMEMIT=H;IH;C
 
Value can be any full path. Relative paths are not allowed.
 
====SMINCLUDE====
Used by OS/2 SOM. Defines the directories where the special SOM header files are stored.
SET SMINCLUDE=Paths
 
Parameters:
 
Paths can be any full path or any relative path.
 
If you use more than one path, the paths must be delimited by a semicolon.
 
====SMNOTC====
Used by OS/2 SOM.
SET SMNOTC=1
 
====SMTMP====
Used by OS/2 SOM. Points to a directory used to store temporary files.
SET SMTMP=Path
 
Parameters:
 
Path can be any full path.
 
===SMG_Path===
This is used by the IBM AO-Manager.
SET SMG_Path=Path
 
Value can be any full path. Relative paths are not allowed.
 
====SMG_Pl2Nlg====
This is used by the IBM AO-Manager.
 
Value can be any full path. Relative paths are not allowed.


===Installation===
*[[CDROMINST]]
*[[COPYFROMFLOPPY]]
*[[SAVECONNECT]]
*[[SOURCEPATH]]
*[[SOURCEPATH]]


===IBM VoiceType===
==Layered Products==
IBM Voicetype Set Statements.
===Programming Environments===
 
;Toolkit
====Spch_Bin====
*[[CPREF]] - Control Program Reference
Used by Voicetype.
*[[GPIREF]] - GPI Reference
SET Spch_Bin=<path>
*[[INCLUDE]] - Include directory
 
*[[IPF_KEYS]] - IPF key definitions
Value can be any full path. Relative paths are not allowed.
*[[IPFC]] - IPF compiler
 
*[[LIB]] - Points to directories where lib files are stored.
Platform Support:
*[[MMREF]] - Defines which files should be shown in the Multimedia Programming Reference.
{|class="wikitable"
*[[PMREF]] - Presentation Manager Reference
|-
*[[WPSREF]] - Workplace Shell Reference
!OS/2 2.x
!OS/2 3.0
!OS/2 4.0
!OS/2 4.5x
|-
|No
|No
|Yes
|No
|}
 
====Spch_MainLang====
Used by OS/2 Voicetype.Defines the language which Voicetype uses for "Voictype Navigation". It is only needed when you have more than one Voicetype versions installed. SET Spch_MainLang=language
 
Parameter:
 
Language is one of the country and language abbrevations as used in the Lang environment variable. For example: Use SET Spch_MainLang=En_US for American english .
 
Platform Support:
{| class="wikitable"
!OS/2 2.x
!OS/2 3.0
!OS/2 4.0
!OS/2 4.5x
|-
|No
|No
|Yes
|No
|}
 
====Spch_Path====
Used by Voicetype.
SET Spch_Path=<path>
 
Platform Support:
{| class="wikitable"
|-
!OS/2 2.x
!OS/2 3.0
!OS/2 4.0
!OS/2 4.5x
|-
|No
|No
|Yes
|No
|}
 
====Spch_Run====
Used by Voicetype.
SET Spch_Run=<path>
 
Platform Support:
{| class="wikitable"
|-
!OS/2 2.x
!OS/2 3.0
!OS/2 4.0
!OS/2 4.5x
|-
|No
|No
|Yes
|No
|}


====Spch_Rw====
;SOM
Used by Voicetype.
*[[SMADDSTAR]]
SET Spch_Rw=<path>
*[[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.


Platform Support:
;SOMobjects
{| class="wikitable"
*[[AVLSVRNAME]]
|-
*[[SOMBASE]]
!OS/2 2.x
*[[SOMDDEBUG]]
!OS/2 3.0
*[[SOMDIR]]
!OS/2 4.0
*[[SOMDMESSAGELOG]]
!OS/2 4.5x
*[[SOMDPORT]]
|-
*[[SOMDTIMEOUT]]
|No
*[[SOMRUNTIME]]
|No
*[[SOMSOCKETS]]
|Yes
*[[SOMTHREADPEER]]
|No
|}
 
====Spch_Trn====
Used by Voicetype.
SET Spch_Bin=Trn
 
Platform Support:
{| class="wikitable"
|-
!OS/2 2.x
!OS/2 3.0
!OS/2 4.0
!OS/2 4.5x
|-
|No
|No
|Yes
|No
|}
 
===SrvName1===
This line is used for remote installations of OS/2.
SET SrvName1=xxxxxxx
 
Value can be any full path. Relative paths are not allowed.


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


===SYSTEM_INI===
===Networking===
Tells the system the path and name of the System INI file. This file contains a lot of system related settings. Be careful, this is a critical system file!
;LAPS
SET SYSTEM_INI=C:\OS2\OS2SYS.INI
*[[ADAPTER_NIF]]
 
*[[ETC]]
Default settings:
* SET SYSTEM_INI=C:\OS2\OS2SYS.INI
 
'''Parameters:'''
 
Value can be any path to a valid System INI file.
Value can be any full path. Relative paths are not allowed.
 
===TCPLANG===
Sets the Language for TCP/IP V4.x.
SET TCPLANG=<xx_XX>
ex: SET TCPLANG=EN_US
 
'''Platform Support:'''
{|class="wikitable"
|-
!OS/2 2.x
!OS/2 3.0
!OS/2 4.0
!OS/2 4.5x
|-
|No
|Yes
|Yes
|Yes
|}
 
===Telnet.Password.ID===
Sets a password for the telnet daemon (Telnetd).
SET Telnet.Password.ID=password
 
Value can be any full path. Relative paths are not allowed.
 
===TEMP===
Here you can define a directory were OS/2 and programs can store temporarily files. It is a god idea to use the same directory as used in SET Tmp. Check the directory time by time to see if there are temporally file that you can delete, because some applications forget to delete their temporally files.
SET TEMP=<path>
 
ex: SET TEMP=C:\var\temp
 
Value can be any full path. Relative paths are not allowed.
 
===TIMESYNC===
New with eCS 1.1
SET TIMESYNC=<parameter>
 
ex: SET TIMESYNC=0
 
===TMP===
Here you can define a directory were OS/2 and programs can store temporarily files. It is a god idea to use the same directory as used in SET Temp. Check the directory time by time to see if there are temporally file that you can delete, because some applications forget to delete their temporally files.
SET TMP=C:\Temp
 
Value can be any full path . Relative paths are not allowed.
 
===TMPDIR===
Here you can define a directory were OS/2 and programs can store temporarily files. It is a god idea to use the same directory as used in SET TEMP. Check the directory time by time to see if there are temporally file that you can delete, because some applications forget to delete their temporally files.
  SET TMPDIR=<path>
 
  ex: SET TMPDIR=C:\var\temp
 
Value can be any full path . Relative paths are not allowed.
 
*[[TZ]] - timezone information
 
===ULSPATH===
Defines the path to the Unicode languages files.
 
  SET ULSPATH=<path>
 
  ex: SET ULSPATH=C:\Language
 
Value can be any full path. Relative paths are not allowed.
 
===USE_HOSTS_FIRST===
If Use_Hosts_First is set up, tcp/ip will first look in the local file ..\Etc\Hosts for the dotted IP address for a specific Hostname on the internet.
 
Let me explain - Whenever you connect to the internet and you access a host ( for example http://www.netlabs.org ), your browser must know the dotted IP address ( for example 195.65.67.48 ) for the host. So the Browser contact a Domain name Server (DNS) and ask for the IP address. This takes some time, to speed up internet connection you can define in the Hosts file the hostnames and the IP addresses.
 
OS/2 will only use Hosts file if Use_Hosts_First is set to 1. You can define all kind of hosts www-server, mail-server, news-server, ftp-server or whatever else. To get the IP address for a host type "host" and the hostname in an OS/2 window. The actual Path for the host file is defined by the Etc environment variable.
SET USE_HOSTS_FIRST=1
 
Value can be any full path . Relative paths are not allowed.
 
===USER===
Needed by some XFree86/OS2 programs. The XFree86/OS2 documentation says that this variable may be used in the future. The User should be set to the same username as in SET LogName defined.
 
It is used also on eComStation and it is on it's default CONFIG.SYS file.
SET USER=<username>
 
ex: SET USER=Oliver
ex: SET USER=ECS_USER
 
===USER_INI===
This variable tells OS/2 the path and name of the User INI file. This file contains information about desktop settings and various applications. Be careful, this is a critical system file!
SET USER_INI=C:\OS2\OS2.INI
 
Default settings:
* SET USER_INI=C:\OS2\OS2.INI
 
'''Parameters:'''
 
Value can be any path to a valid User INI file.


Value can be any full path. Relative paths are not allowed.
;LAN Services
*[[DLSINI]]
*[[INIT_FILE_NAMES]]
*[[INIT_FILE_RANGES]]
*[[LANINSTEP]]
*[[LOCPATH]] - Points to the location of the language files.
*[[NWDBPATH]]
*[[WPS_COMMUNICATION]]


===VCFG_NO_DDC===
;TCP/IP
This line is used GRADD based graphiccard drivers. It controls if your monitor capabilities should be read with the Display Data Channel (DDC) or not.
*[[HOME]]
SET VCFG_NO_DDC=value
*[[HOSTNAME]]
*[[I18NDIR]]
*[[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


Parameters:
;MFS
*[[MFSCACHE]] - mobile file sync


Value can be True or False. If set to False or the variable is not set up, than will the graphiccard driver use DDC to read the monitor capabilities.
;Global Security Runtime
*[[IKEYMAN_HOME]]
*[[IKEYMAN40_HOME]]
*[[IKEYMAN50_HOME]]


Value can be any full path. Relative paths are not allowed.
*[[LOGNAME]]
*[[MGA]] - Matrox graphic cards directory


===VIO===
*[[NETVIEW_PATH]] - Defines the path where the SystemView client is installed.
====VIO_MGA====
This line is used by Matrox graphics adapter card drivers.
SET VIO_MGA=Device(Bvhvga,Bmgax64)
Value can be any full path. Relative paths are not allowed.  


====VIO_SVGA====
*[[SRVNAME1]] - Used for remote installations of OS/2.
Needed by SVGA Graphic cards.
SET VIO_SVGA=DEVICE(BVHVGA,BVHSVGA)


===Video_Devices===
*[[TEMP]] - Define a directory were OS/2 and programs can store temporarily files.
Needed by VGA and SVGA Graphic cards.
*[[TMP]] - Define a directory were OS/2 and programs can store temporarily files.
SET VIDEO_DEVICES=VIO_SVGA


===WpsRef===
Used by the IBM OS/2 Programmer Toolkit. Defines which books should be shown in the WPS Guide and Reference.
SET Wpsref=Wps1.inf+wps2.inf+wps3.inf
Value can be any full path. Relative paths are not allowed.


===WPS_COMMUNICATION===
Check also [[CONFIG.SYS - SET Statements (Additional software)]].
This line is used by the File and Print Client.
SET WPS_COMMUNICATION=YES


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

Latest revision as of 00:59, 23 February 2020

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).