Jump to content

CONFIG.SYS - SET Statements

From EDM2
Revision as of 02:12, 15 November 2017 by Martini (talk | contribs) (PM_)

Return to The Config.sys Documentation Project Main Page

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 comands 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 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

PM

Help Manager

  • BOOKSHELF - help manager search path for book shelves

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

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

Workplace Shell

SOM

OS/2 SOM Set Statements.

Programming Environments

Java Run-time

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.

DLSINI

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

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 

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

Global Security Runtime

IKEYMAN_HOME

SET IKEYMAN_HOME=<path>
Example
SET IKEYMAN_HOME=C:\IBMGSK

IKEYMAN40_HOME

SET IKEYMAN40_HOME=<path>
Example
SET IKEYMAN40_HOME=C:\IBMGSK40

IKEYMAN50_HOME

SET IKEYMAN50_HOME=<path>
Example
SET IKEYMAN50_HOME=C:\IBMGSK50

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=C:\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.
  • KEYS - command line history
  • LANG - country-specific settings

Laninstep

This is part of the remote install (CID) setup.

SET Laninstep=C:\Cid\Img\Ibmpeer

Lib

Used by various compilers. Points to the directories where lib files are stored.

SET Lib=Path1;Path2, ...

Parameters:

Path can be any full path. If you define more than one path, they must be delimited with a semicolon.

LIBC_HOOK_DLLS

SET LIBC_HOOK_DLLS=<path>

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

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

Search path to Lotus classes used by the Lotus SmartSuite.

SET Lotus_CLS=Path
Parameters
Path can be any full path.

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.

MMBASE

Sets up the base directory for OS/2s multimedia programs.

SET MMBASE=C:\MMOS2 

MMSTREAM

SET MMSTREAM=<parameter>
Example
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.

MMREF

Used by the IBM OS/2 Programmer Toolkit. Defines which files should be shown in the Multimedia Programming Reference.

SET MMREF=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

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"

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 applications. This causes that Mozilla will 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
1

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:

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.

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.

PM_

PM_ASYNC_FOCUS_CHANGE

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>

Example

SET PROGRAMS=C:\PROGRAMS
  • 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:

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:

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:

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:

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:

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:

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:

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"

Platform Support:

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:

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.

IBM VoiceType

IBM Voicetype Set Statements.

Spch_Bin

Used by Voicetype.

SET Spch_Bin=<path>

Value can be any full path. Relative paths are not allowed.

Platform Support:

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:

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:

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:

OS/2 2.x OS/2 3.0 OS/2 4.0 OS/2 4.5x
No No Yes No

Spch_Rw

Used by Voicetype.

SET Spch_Rw=<path>

Platform Support:

OS/2 2.x OS/2 3.0 OS/2 4.0 OS/2 4.5x
No No Yes No

Spch_Trn

Used by Voicetype.

SET Spch_Bin=Trn

Platform Support:

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.

SYSTEM_INI

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!

SET SYSTEM_INI=C:\OS2\OS2SYS.INI

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:

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>

Example:

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>

Example:

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

VIO

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

Needed by SVGA Graphic cards.

SET VIO_SVGA=DEVICE(BVHVGA,BVHSVGA)

Video_Devices

Needed by VGA and SVGA Graphic cards.

SET VIDEO_DEVICES=VIO_SVGA

WPS_COMMUNICATION

This line is used by the File and Print Client.

SET WPS_COMMUNICATION=YES