CONFIG.SYS - SET Statements

From EDM2
Jump to: navigation, search

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

Contents

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

Workplace Shell

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.

SomdDir

Used by OS/2 SOM. Points to the DSOM directory, DSOM stands for Distibuted SOM.

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

EMX/GCC

AC_PREFIX

Sets the install directory for GNU autconf.

SET AC_PREFIX=

ADA_INCLUDE_PATH

Variable for GNAT the Ada95 Compiler from GNU GCC

SET ADA_INCLUDE_PATH=

ADA_OBJECTS_PATH

Variable for GNAT the Ada95 Compiler for gcc

SET ADA_OBJECTS_PATH=

Networking

LAPS

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

Additional IBM Products

PSF/2

AINCODEPATH

Setting by IBM Print Services Facility for OS/2.

SET AINCODEPATH=

AINLANGUAGE

Setting by IBM Print Services Facility for OS/2.

SET AINLANGUAGE=ENU

AINUPTIMER

Setting by IBM Print Services Facility for OS/2.

SET AINUPTIMER=1

AINWORKPATH

Setting by IBM Print Services Facility for OS/2.

SET AINWORKPATH

Programs

AMD for IMDB

Setting for a database_application. It is an 'os2-browser' for IMDB (internet movie database), a very wellknown project for movie enthusiasts. Developed by Steffen Siebert (siebert@logware.de)

AMD_LISTS_PATH

SET AMD_LISTS_PATH=

AMD_PATH

SET AMD_PATH=

AWK and gawk

AWK

SET AWK=

Sets the path to the AWK executable (note the use of slashes (/))

AWKPATH

SET AWK=x:/path

Sets the searchpath for AWK (note the use of slashes (/))

BackAgain/2

BA2_CATALOG_PATH

SET BA2_CATALOG_PATH=x:\path

Environment variable used by Back Again/2

BA2_LOG_PATH

SET BA2_LOG_PATH=x:\path

Environment variable used by Back Again/2

BA2_SCSI_LOGFILE

SET BA2_SCSI_LOGFILE=x:\SCSILOG.TXT

This will create with BackAgain/2 a logfile of scsi-related messages. Good for testing errors.

SET BA2_SET_PATH

Environment variable used by Back Again/2

BRIEF

BBACKUP

Used to set the location for backup files created by the BRIEF programmer's editor.

SET BBACKUP

Changi

The following Set Statements are used by the Newsserver Changi.

ChangiAutoFlush

This is used by the Newsserver Changi.

SET ChangiAutoFlush=value

Parameters:

ChangiHistory

This is used by the Newsserver Changi.

SET ChangiHistory=Path

Parameters:

ChangiHostName

This is used by the Newsserver Changi.

SET ChangiHostName=value

Parameters:

ChangiLocalHost

This is used by the Newsserver Changi.

SET ChangiLocalHost=value

Parameters:

ChangiNewsDir

This is used by the Newsserver Changi.

SET ChangiNewsDir=Path

Parameters:

ChangiNodeName

This is used by the Newsserver Changi.

SET ChangiNodeName=value

Parameters:

ChangiOverDir

This is used by the Newsserver Changi.

SET ChangiOverDir=Path

Parameters:

ChangiPathHost

This is used by the Newsserver Changi.

SET ChangiPathHost=value

Parameters:

ChangiWorkDir

This is used by the Newsserver Changi.

SET ChangiWorkDir=Path

Parameters:

Communigate Pro

APPLICATION

Usually set from Communigate Pro's Startup.CMD, this points to the Communigate Pro program directory.

SET APPLICATION=Path

Parameters:

Path should be the full path to the location of CGServer.exe (without the trailing backslash).

BASEDIRECTORY

Usually set from Communigate Pro's Startup.CMD, this points to the Communigate Pro data directory.

SET BASEDIRECTORY=Path

Parameters:

Path should be the full path to the parent directory containing Accounts, Domains, BadFiles, Queue, Settings, etc. (without the trailing backslash).

SUPPLPARAMS

Usually set from Communigate Pro's Startup.CMD, this includes one or more parameters to be passed to CGServer.exe at startup.

SET SUPPLPARAMS=--<parameter 1> <option> --<parameter 2> <option> etc.

Parameters:

Parameters should be preceded by double dashes (i.e., entered just as they would be on the command line). Where a parameter requires an option, use a whitespace to separate the parameter from the option. If multiple parameters are required, separate them with a whitespace and precede the next parameter with double dashes.

Inet.Mail

AutoReply

This is used by the POP3 and SMTP Mailserver Inet.Mail.

SET AutoReply=Path

Parameters:

Path can be any full path.

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.

BEGINLIBPATH

This variable prepends LIBPATH. That is, all paths listed in BEGINLIBPATH are added in front of the LIBPATH entries. This is normally not used in CONFIG.SYS, but is useful on the command line and in scripts, where setting a particular LIBPATH would not otherwise be possible.

SET BEGINLIBPATH=path;path2

Parameters: Multiple entries must be delimited by a semicolon.

Platform Support:
OS/2 2.x OS/2 3.0 OS/2 4.0 OS/2 4.5x
No Yes Yes Yes

BOOKSHELF

This variable points to the OS/2 online documentation and documents from various programs. Only the paths listed in the BOOKSHELF variable are searched, if you select "search in all books".

SET BOOKSHELF=Path1;Path2;...;PathN

Parameters:

Path can be any full path.

C1

This variable is used by GRADD based video card drivers. GRADD drivers can only be used by Warp with a recent fixpak level.

SET C1=<parameter>
ex: SET C1=VMGRADD
Parameter

Parameter is one or more DLLs that the Gradd driver should load. If you have severall Dlls they must be delimited by a semicolon.

CPlus_Include_Path

Points to the path where the EMX-C++ Compiler stores the Include files.

SET CPlus_Include_Path=Path

Parameters:

Path can be any full path. If you have several path they must be delimited by a semicolon.

Note: You must use the UNIX-like forward slashes instead of the backslashes. See the example below:

SET CPlus_Include_Path=c:/emx/include/cpp;c:/emx/include

ICAT

Set Statements used by the ICAT debugger.

CAT_Communication_Type

Is used by the ICAT debugger.

SET Cat_Communication_Type=value 

CAT_Host_Bin_Path

Is used by the ICAT debugger. Defines the path to the debug binaries.

SET Cat_Host_Bin_Path=path

Parameters:

Path can be any full path. If you have several path they must be delimited by a semicolon.

CAT_Host_Source_Path

Is used by the ICAT debugger. Tells the debugger where to find the sources.

SET Cat_Host_Source_Path=path

Parameters:

Path can be any full path. If you have several path they must be delimited by a semicolon.

CAT_JAVA_ONLY

Is used by the ICAT debugger. Controls if you want to be able to debug native method dll code or not.

SET Cat_Java_Only=value

Parameters:

Value can be ON or OFF.

If set to OFF or the variable is not set up you can debug native method dll code.

CAT_JVM_ARGS

Is used by the ICAT debugger.

SET CAT_JVM_ARGS=parameters

Parameters:

Parameters can be any valid option for the JVM.

CAT_Machine

Is used by the ICAT debugger. This variable sets the ip address of the daemon's machine, and it sets the port number to communicate with the daemon.

SET Cat_Machine=value

Parameters:

Value must be an ip address and a port number.

CAT_MODULE_LIST

Is used by the ICAT debugger.

SET Cat_Module_List=value

Parameters:

Value can be any class file. If you have several files they must be delimited by a space.

CAT_Package_Path

Is used by the ICAT debugger.

SET Cat_Package_Path=

Parameters:

Path can be any full path. If you have several path they must be =delimited by a semicolon.

CAT_PATH_RECURSE

Is used by the ICAT debugger. With this variable set the debugger will search recursive into the subdirectories.

SET Cat_Path_Recurse=value

Parameters:

Value must be any non-null value to turn it on.

C_Include_Path

Points to the path where the EMX-C Compiler stores the Include files.

SET C_Include_Path=Path

Parameters:

Path can be any full path. If you have several path they must be delimited by a semicolon.

Note: You must use the UNIX-like forwardslashes instead of the backslashes. See the example below:

SET C_Include_Path=c:/emx/include

Classpath

The CLASSPATH variable points to the Java class files.

SET CLASSPATH=Classfile1;Classfile2;Classfile3;

Parameters:

Classfile can be any Java class file with full path, any relative path, or any full path.

SET CodeLPath

Is used by the IBM VisualAge for C++ Compiler.

SET CodeLPath=path

Parameters:

Path can be any full path. If you have several path they must be delimited by a semicolon.

SET Comspec

The COMSPEC variable defines a reload path for the command processor.

SET COMSPEC=path

Parameters:

Path can be a full path to an OS/2 command processor.

CopyFromFloppy

This environment variable is only useful in your install diskettes CONFIG.SYS file. If you find it in your normal CONFIG.SYS file, than you can delete it. If it is set up, OS/2 copies all standard drivers from the diskettes to your harddisk during the install process. If it is not set up, OS/2 will copy all drivers from the CD-Rom. If your hardware needs newer drivers than that on the install CD-Rom, you can copy the new drivers to the install diskettes. And set in the CONFIG.SYS on the install diskettes the CopyfromFloppy variable to "On".

SET CopyFromFloppy=Value

Parameters:

Value can be On or 1.

IBM VisualAge C++

The following Set Statements are used in IBM Visualage for C++ Compiler.

CppHelp_Ini

Is used by the IBM Visualage for C++ Compiler.

SET CppHelp_Ini=path

Parameters:

Path can be any full path.

CppLocal

Is used by the IBM Visualage for C++ Compiler.

SET CppLocal=path

Parameters:

Path can be any full path.

CppMain

Is used by the IBM Visualage for C++ Compiler.

SET CppMain=path

Parameters:

Path can be any full path.

CppWork

Is used by the IBM Visualage for C++ Compiler.

SET CppWork=path

Parameters:

Path can be any full path.

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

DCF/2

These are the environment variables used by the DCF/2 disk compression program.

DCF2_Acp_Auto_Optimize_Kb_Free

This environment variable is used by the DCF/2 disk compression program.

SET Dcf2_Acp_Auto_Optimize_Kb_Free=1024

DCF2_Acp_Auto_Optimize_Level

This environment variable is used by the DCF/2 disk compression program.

SET Dcf2_Acp_Auto_Optimize_Level=0 

DCF2_Acp_Auto_Optimize_Mins

This environment variable is used by the DCF/2 disk compression program.

SET Dcf2_Acp_Auto_Optimize_Mins=60 

DCF2_Acp_Cache_Blocks

This environment variable is used by the DCF/2 disk compression program.

SET DCF2_Acp_Cache_Blocks=128 

DCF2_Acp_Compression_Level

This environment variable is used by the DCF/2 disk compression program.

SET Dcf2_Acp_Compression_Level=2

DCF2_Acp_Debug

This environment variable is used by the DCF/2 disk compression program.

SET Dcf2_Acp_Debug=3 

DCF2_Acp_Foreground_Compress_Rate

This environment variable is used by the DCF/2 disk compression program.

SET Dcf2_Acp_Foreground_Compress_Rate=5

DCF2_Acp_Logng

This environment variable is used by the DCF/2 disk compression program.

SET Dcf2_Acp_Logng=3 

DCF2_Acp_Maxage_Secs

This environment variable is used by the DCF/2 disk compression program.

SET Dcf2_Acp_Maxage_Secs=5

DCF2_Acp_No_Clean_And_Close

This environment variable is used by the DCF/2 disk compression program.

SET Dcf2_Acp_No_Clean_And_Close=TRUE 

DCF2_Acp_Out_Of_Space_Suspend

This environment variable is used by the DCF/2 disk compression program.

SET Dcf2_Acp_Out_Of_Space_Suspend=512

DCF2_Acp_Out_Of_Space_Warning

This environment variable is used by the DCF/2 disk compression program.

SET Dcf2_Acp_Out_Of_Space_Warning=3072

DCF2_Acp_Priority

This environment variable is used by the DCF/2 disk compression program.

SET Dcf2_Acp_Priority=2 

DCF2_Acp_Priority_Delta

This environment variable is used by the DCF/2 disk compression program.

SET Dcf2_Acp_Priority_Delta=2 

SET DCF2_Pdd_Wait

This environment variable is used by the DCF/2 disk compression program.

SET Dcf2_Acp_Pdd_Wait=0

SET DCF2_Vdu_G

This environment variable is used by the DCF/2 disk compression program.

SET Dcf2_Vdu_G=file 

DELDIR

This enables the OS/2 undelete function. If this line is set up all files you delete are not really deleted but instead are moved to a directory specified by the DELDIR variable. If the total size of files in the delete directory is greater than the delete directory size the oldest files are deleted from the delete directory until the total size of files is smaller than the directory size. You must enable the delete directory function for every partition that you want to be able to recover files from.

SET DELDIR=Path1,Size1;Path2,Size2

Parameters:

  • Path - Path must be a full path to an existing directory.
  • Size - Size can be any value expressed in Kbytes.

See the examples below.

To use 4 megabytes of space for the undelete function on partition C: and 10 megabytes for the undelete function on partition E:, add this line to your CONFIG.SYS file:

SET DELDIR=C:\DELETE,4096;E:\SYSTEM\DELETE,10240 

Desktop

If OS/2 has problems to find the Desktop, you can define here the path to the desktop.

SET Desktop=path

Parameter:

Path must be the full path to the desktop for example:

SET Sourcepath=C:\Desktop. 

DEVICEFONTDISABLED

Under OS/2 Warp Server for e-business (and probably more recent warp 3/4 fixpaks) setting this to YES will cause very large/slow print jobs, since no uploaded/internal printer fonts will be used.

SET DEVICEFONTDISABLED=NO

You want it set to "NO" in most cases (NO is the default).

DirCmd

DIRCMD specifies a default parameter used by the Dir command in the OS/2 shell.

SET DIRCMD=parameters

Parameters:

  • /A[AHRS] - Shows only files with the specific attribute. Add a minus sign (minus) in front of the letter to show files WITHOUT the specific attribute. You can use any combination of the attributes. The /A parameter alone calls for display of all attributes. For example you

want to display only files with the archive and read only attribute set, then use this parameter /AAR.

    • A - Archive attribute
    • H - Hidden attribute
    • R - Read only attribute
    • S - System attribute
  • /B - Don't show the heading and summary information.
  • /F - Show files with full path but without date, time and size.
  • /L - Displays all information in lowercase.
  • /N - List files on FAT drives in the same manner as on HPFS drives (i.e. date, time, size, EA size, name)
  • /O: - Displays files sorted by following criteria. You can use any logical combination of sort attributes. Standard is /O:GN.
    • G Directories first
    • -G Directories last
    • N Sorted by filename alphabetically
    • -N Sorted by filename in reverse alphabetical order
    • E Sorted by file extension alphabetically
    • -E Sorted by file extension in reverse alphabetical order
    • D Sorted by date from oldest to newest
    • -D Sorted by date from newest to oldest
    • S Sorted by size from smallest to biggest
    • -S Sorted by size from biggest to smallest
  • /P - Pauses after each full screen of information and waits for a keystroke.
  • /R - Displays long names on FAT drives if available.
  • /S - Recursive search and displays all sub-directories.
  • /W - Displays only file names. No other information.

See the example below.

To set the default for the Dir command to show the output sorted by file name, list the directories first, and pause after each full screen of display, add this line to your CONFIG.SYS file:

SET DIRCMD=/O:GN/P 

SET Display

Needed by XFree86/OS2. Tells the X server were to display the output.

Normally this should be your own monitor, but it is possible to use an other computer for the output.

SET Display=Hostname:displaynumber.screennumber

Parameters:

  • Hostname

The Hostname is the name or IP address of the computer for the display. If you want to use your own PC then set it to the same name as defined in the SET HostName variable.

  • displaynumber

Use 0 if you want to use your own PC.

  • screennumber

Use 0 if you want to use your own PC.

DISPLAYTYPE

Setting in OS/2 Warp Server for e-Business when VGA was selected during installation.

SET DISPLAYTYPE=VGA

TIP= To avoid future troubles when changing the videodriver or the graphics card always install VGA.

Dlsini

Is used by the File and Print Client.

SET Dlsini=C:\Ibmlan\Netprog\Netgui.ini 

DmiPath

This variable is somewhere used by the Desktop Management Information (DMI) system. I think this is used by tools like Syslog.exe and Ffts.exe.

SET Dmipath=E:\DMISL\BIN 

DPATH

The DPATH variable sets up the search directories for data files.

SET DPATH=Path1;Path2;Path3;

Parameters:

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

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

Dssdir

Is used by the Lotus Smartsuite.

SET DssDir=Path

Parameters:

Path can be any full path.

DssPath

Is used by the Lotus Smartsuite.

SET DssPath=Path

Parameters:

Path can be any full path.

SET EDpath

Is used by the Watcom C/C++ Compiler.

SET EDPath=path

Parameters:

Path can be any full path.

ETC

In the Etc directory stores the OS/2 internet applications their configuration and log files.

SET EtC=E:\MPTN\ETC 

EmxBook

Is used to fit together all EMX books to one book with the name EmxBook.

SET EmxBook=book1+book2+bookN

Parameters:

Book can be any *.inf file. See the example below:
SET EmxBook=emxdef.inf+libref.inf+gnudev.inf+bsddev.inf 

EmxOpt

Used by the EMX-compiler.

SET EmxOpt=value

ENDLIBPATH

This variable appends to LIBPATH. That is, all paths listed in ENDLIBPATH are added to the end of the LIBPATH entries. This is normally not used in CONFIG.SYS, but is useful on the command line and in scripts, where setting a particular LIBPATH would not otherwise be possible.

SET ENDLIBPATH=path;path2

Parameters: Multiple entries must be delimited by a semicolon.

ENH_STRETCH

In OS/2 Warp 4 FP14 and above, OS/2 WSeB FP2, and the Convenience Paks, there is new "enhanced stretch-blitting." This new feature has one known ill side-effect, where some of the icons for folders and other items will appear "washed out" when running in 24bpp or 32bpp. To fix this, you can disable the new feature by adding this line.

SET ENH_STRETCH=NO
Platform Support:
OS/2 2.x OS/2 3.0 OS/2 4.0 OS/2 4.5x
No No No* Yes

ENH_SUSPEND

This is related to the software support package for Intel's SpeedStep dynamic frequency scaling technology (codenamed Geyserville). Enhanced Suspend support is designed to allow the system to refresh the display once the system is resumed from a D3 Cold suspend state. The Enhanced Suspend option should be enabled on a system with D3 Cold suspend enabled, if there is insufficient, disabled, or no BIOS assistence for restoring the video state once the system is resumed. On other systems, or in other circumstances, Enhanced Suspend may also be optionally enabled, if desired.

To control the Enhanced Suspend feature, the following statement should be used in the CONFIG.SYS file:

SET ENH_SUSPEND=<value>

where <value> is one of the following:

  • 0 - the Enhanced Suspend is disabled, same as no "SET ENH_SUSPEND" statement in the CONFIG.SYS;
  • 1 - basic Enhanced Suspend is enabled;
  • 2 - same as "1" plus saving/restoration of the graphics mode screen.

SET ENH_SUSPEND=1 should be satisfactory in most cases, and requires the minimum of additional memory at the time of a suspend. However, there are circumstances such as a lockup desktop, or a PM Popup, where relatively unimportant video display content remains temporarily corrupted until the lockup or Popup is ended.

SET ENH_SUSPEND=2 requires additional memory to save and restore the exact the desktop bit pattern fairly immediately. It may yield results similar to SET ENH_SUSPEND=1 if system memory or virtual address space is in short supply at the time of the suspend.

NOTE: Suspend and resume may take longer when Enhanced Suspend is enabled. During suspend, some systems will produce a text screen advising the user that the system is suspending. Likewise, upon resume, a similar message may be displayed. Drivers are readied before the video is restored. On some systems, resume feels almost instantaneous, because by the time video is available, all other hardware has been awakened and the system is ready for input.

There are some system states for which the Enhanced Suspend support requires a newer version of display driver to avoid display corruption upon resume from a D3 Cold suspend state. It is recommended that the video driver claims support for Enhanced Suspend. The latest SciTech SNAP, IBMGRADD, and VGA/SVGA drivers have support for Enhanced Suspend. This would include Panorama, as well.

Platform Support:
OS/2 2.x OS/2 3.0 OS/2 4.0 OS/2 4.5x
No * * Yes

EpfInstDir

This points to the directory in which the IBM installer stores information about the installed programs.

SET Epfinstdir=E:\OS2\Config

EpmPath

The Epmpath variable tells OS/2 were to find files for the Enhanced editor EPM.

SET Epmpath=E:\OS2\Apps

Parameters:

If you have several paths they must be delimited by a semicolon.

SHOWEXTENDEDPOWERMENU

This is related to the software support package for Intel's SpeedStep dynamic frequency scaling technology (codenamed Geyserville). Mobile Intel Pentium processors support additional CPU and Throttle states to maximize battery life and optimize performance. The number of CPU states depends on the processor model and maximum frequency.

While the Geyserville daemon (GSVDAEMN) controls CPU throttling, it is possible to enable the overview of the CPU and Throttle states in the Power object. To control the states overview, the following statement should be used in the CONFIG.SYS file:

SET SHOWEXTENDEDPOWERMENU=<value>

where <value> is one of the following:

  • NO - the states overview are disabled, same as no "SET SHOWEXTENDEDPOWERMENU" statement in the CONFIG.SYS; (this is the default option)
  • YES - the states overview are enabled.

NOTE: Extended power state information is shown in English only prior to eComStation, which patches the related dll with updated resources when installed via eCSMT.

Platform Support:
OS/2 2.x OS/2 3.0 OS/2 4.0 OS/2 4.5x
No * * Yes

GccLoad

Defines how long the GCC Compiler is kept in memory.

SET GccLoad=Minutes

Parameters:

Minutes can be any time.
This value is expressed in minutes. If this parameter is not set it defaults t

SET GccOpt

Defines default options for the GCC/EMX compiler.

SET GccOpt=Options

SET Glossary

This variable points to the glossary directory. This directory contains the Wpgloss.hlp file which is the general help index.

SET Glossary=C:\OS2\Help\Gloss 

SET GpfRexx

Points to the directory where GPFRexx is installed.

SET Gpfrexx=C:\User\Rexx\Gpfrexx 

SET GpfRexxBitmap

Points to the directory where GPFRexx stores the bitmap files.

SET Gpfrexx=C:\User\Rexx\Gpfrexx\Bitmap 

SET 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 

SET GRADD_CHAINS

This variable is somewhere used by a Gradd based Video Card Driver.

This variable points to another variable that defines which Dlls to load. Gradd drivers can only be used on Warp with a recent fixpack level.

SET GRADD_CHAINS=C1
Platform Support:
OS/2 2.x OS/2 3.0 OS/2 4.0 OS/2 4.5x
No No* Yes Yes

SET Greext

Is used by the Scitech Software Display Doctor for OS/2.

SET Greext=SDDGrext 

SET GU

The GU variable sets up the path where the Graham Utilities are installed.

SET GU=C:\user\GU20 

SET 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

SET HPP_Base

Points to the directory in which the HomePage Publisher is installed.

SET Hpp_base=C:\Hpp21 

SET HPP_Options

Used by the Home Page Publisher to define a default backgroundimage for new html files.

SET Hpp_Options=C:\Hpp21\Images\Background.jpg 

SET Help

The HELP variable defines the search path for help files.

SET HELP=Path1;Path2;Path3;

Parameters:

Value can be any full path or any relative path.

SET Helpndx

The HELPNDX variable points to the index files which are used by the EPM editor and possibly by some other programming editors. With EPM, you can mark a keyword in your text and press CTRL + H. EPM then searches the index files for the marked word and if it is found, shows the online document for the keyword. The index files must be in a path defined by the BOOKSHELF or EPMPATH variable.

SET HELPNDX=FILE1.NDX+FILE2.NDX+...+FILEn.NDX

Parameters:

The HELPNDX variable contains a list of *.ndx files separated by a plus sign (+).

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 

Html_DbcsNetq

This is used by the NetQuestion Help system in IBM VisualAge for C++ 4.0 and IBM VisualAge for Java.

SET Html_DbcsNetq=Value

Parameters:

Value can be ON or OFF.

SET I18NDir

Points to the IBM I18N Toolkit. This is used by Nationl Language support (NLS).

SET I18ndir=C:\IBMI18N 

SET IBMAV

Is used by the IBM/Symantec Antivirus program.

SET IBMAV=Path 

SET IBMWorks_Ini

Here can you define the directory in that IBM Works stores the Ibmworks.ini file.

SET Ibmworks_ini=E:\BonusPak\ibmworks 

IKEY...

SET IKEYMAN40_HOME

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

SET IKEYMAN50_HOME

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

SET IKEYMAN_HOME

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

Imn...

Set Statements used by NetQuestion, Help system in IBM VisualAge for C++ 4.0 and IBM VisualAge for Java.

SET ImnCcCfgFile

This is used by the Net Question Help system in IBM Visualage for C++ 4.0 and IBM Visualage for Java.

SET ImnCcCfgFile=Netq.cfg

Platform Support:

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

SET ImnCsCfgFile

This is used by the Net Question Help system in IBM Visualage for C++ 4.0 and IBM Visualage for Java.

SET ImnCsCfgFile=Netq.cfg 

Platform Support:

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

SET ImnDataCl

This is used by the Net Question Help system in IBM Visualage for C++ 4.0 and IBM Visualage for Java.

SET ImnDataCl=path

Parameters:

Path can be any full path.

Platform Support:

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

SET ImnDataSrv

This is used by the Net Question Help system in IBM Visualage for C++ 4.0 and IBM Visualage for Java.

SET ImnDataSrv=path

Parameters:

Path can be any full path.

Platform Support:

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

SET ImnNlpsCl

This is used by the Net Question Help system in IBM Visualage for C++ 4.0 and IBM Visualage for Java.

SET ImnNlpsCl=path

Parameters: Path can be any full path.

Platform Support:

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

SET ImnNlpsSrv

This is used by the Net Question Help system in IBM Visualage for C++ 4.0 and IBM Visualage for Java.

SET ImnNlpsSrv=path

Parameters:

Path can be any full path.

Platform Support:

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

SET ImnWorkCl

This is used by the Net Question Help system in IBM Visualage for C++ 4.0 and IBM Visualage for Java.

SET ImnWorkCl=path

Parameters:

Path can be any full path.

Platform Support:

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

SET ImnWorkSrv

This is used by the Net Question Help system in IBM Visualage for C++ 4.0 and IBM Visualage for Java.

SET ImnWorkSrv=path

Parameters:

Path can be any full path.

Platform Support:

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

SET Imq...

Set statements used by the NetQuestion, Help system in IBM Visualage for C++ 4.0 and IBM VisualAge for Java.

Lucide Document Viewer

LUCIDEINSTALLPATH

Used to point to the location of the Lucide executable, help, and supporting files. This was introduced in Lucide version 1.4.0. It is normally set during install.

SET LUCIDEINSTALLPATH=Path

Parameters:

Path can be any full path.

SET ImqConfigCl

This is used by the Net Question Help system in IBM Visualage for C++ 4.0 and IBM Visualage for Java.

SET ImqConfigCl=path

Parameters:

Path can be any full path.

Platform Support:

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

SET ImqConfigSrv

This is used by the Net Question Help system in IBM VisualAge for C++ 4.0 and IBM Visualage for Java.

SET ImnConfigSrv=path

Parameters:

Path can be any full path.

Platform Support:

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

SET Init_File_Names

This is used by the File and Print Client.

SET Init_File_Names=netgui

SET Init_File_Ranges

This is used by the File and Print Client.

SET Init_File_Ranges=200 

SET IPFC

Points to the IPF Compiler path, the location of the APSY*.APS and IPF*.NLS files.

SET Ipfc=C6colon.\Compiler\Ipfc4 

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

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

SET Ipf_Keys

Some online documents have special sections which should be shown only to a few users, this can be done if a specific key is added to the Ipf_Keys variable. But not much online books use this feature.

SET Ipf_Keys=key_1+key_2+key_n

Parameters:

Key can be any word. If you have a online book that supports this feature you can see additional information if the key is set up. If it is not set up the additional information is hide from you. The parameter can contain several keys which must be delimited by a plus signs. OS/2 assigns the Ipf_Keys variable with SBCS. I don't no were this take effect. SBCS stands for single byte character set, which is used with most languages. For languages like Yespanese or Chinese DBCS (double byte character set) are used. If you have more information please post it on this wiki.

IBM WorkFrame

Set statements used by the IBM VisualAge for C++ Compiler.

Iwf.Default_Prj

This is used by the IBM VisualAge for C++ Compiler.

SET Iwf.Default_Prj=Cppdftprj 

Iwf.Solution_Language_Support

This is used by the IBM VisualAge for C++ Compiler.

SET Iwf.Solution_Language_Support=Cppibs30;ENG

SET IwfHelp

This is used by the IBM VisualAge for C++ Compiler.

SET IwfHelp=Iwfhdi.inf

SET IwfOpt

This is used by the IBM VisualAge for C++ Compiler.

SET IwfOpt= 

Java

SET 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:

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

SET 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:

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

SET 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:

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

SET 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:

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

SET 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:

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

SET 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:

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

SET 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:

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

SET 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:

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

SET 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:

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

SET 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:

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

SET 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:

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

SET 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:

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

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

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

SET Keys

OS/2 can remember previous keystrokes typed on the OS/2 command line. You can recall previous keystrokes with the up arrow key. This variable enables or disables this feature.

note: If keys is set to ON, ANSI extended keyboard support is disabled.

SET KEYS=value

Default settings:

  • SET KEYS=ON

Parameters:

Value can be ON or OFF.

SET Lang

Sets up the language and the country for applications that are using Unicode character sets.

SET LANG=language_country

Parameters:

Here is a list of the countrys and their available settings for the language_country parameter ( the value in parenthesis ).

  • Albania (sq_AL)
  • Arabic-speaking (ar_AA)
  • Australia (en_AU)
  • Austria (de_AT)
  • Belgium dutch (nl_BE)
  • Belgium French (fr_BE)
  • Bosnia (sh_BA)
  • Brazil (pt_BR)
  • Bulgaria (bg_BG)
  • Canada english (en_CA)
  • Canada french (fr_CA)
  • China (zh_CN)
  • Croatia (hr_HR)
  • Czechoslovakia (cs_CZ)
  • Denmark (da_DK)
  • Finland (fi_FI)
  • France (fr_FR)
  • Germany (de_DE)
  • Great Britain (en_GB)
  • Greece (el_GR)
  • Hungary (hu_HU)
  • Iceland (is_IS)
  • Ireland (en_IE)
  • Israel (iw_IL)
  • Italy (it_IT)
  • Japan (ja_JP)
  • Korea (ko_KR)
  • Latin America (es_LA)
  • Netherlands (nl_NL)
  • New Zealand (en_NZ)
  • Norway (no_NO)
  • Poland (pl_PL)
  • Portugal (pt_PT)
  • Romania (ro_RO)
  • Russia (ru_RU)
  • Slovak (sk_SK)
  • Slovenia (sl_SL)
  • South Africa (en_ZA)
  • Spain (es_ES)
  • Sweden (sv_SE)
  • Switzerland german (de_CH)
  • Switzerland french (fr_CH)
  • Switzerland italian (it_CH)
  • Taiwan (zh_TW)
  • Thailand (th_TH)
  • Turkey (tr_TR)
  • United States (en_US)

SET Laninstep

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

SET Laninstep=C:\Cid\Img\Ibmpeer

SET LastDrive

This specifies the last valid drive letter for DOS or Windows sessions.

SET LASTDRIVE=drive

Parameters:

Value can be any letter from C to Z.

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

SET LIBC_HOOK_DLLS

SET LIBC_HOOK_DLLS=<path>

Platform Support:

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

SET 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

SET Lite_Locales

This is used by the NetQuestion Help system in IBM VisualAge for C++ 4.0 and IBM VisualAge for Java.

SET LiteLocales=path

Parameters:

Path can be any full path.

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

SET LOGFILES

New with eCS 1.1 - points to the log directory.

SET LOGFILES=<path>
ex: SET LOGFILES=C:\var\log

Platform Support:

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

SET 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 

SET Lotus_CLS

Is used by the Lotus Smartsuite.

SET Lotus_CLS=Path

Parameters:

Path can be any full path.

Platform Support:

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

SET LPath

This is used by the IBM VisualAge for C++ Compiler.

SET LPath=path

Parameters:

Path can be any full path.

SET Lxevfref

This is used by the IBM VisualAge for C++ Compiler. Defines which files should be shown in the Editor Reference Guide.

SET Lxevref=Evfelref.inf+Lpxcref.inf 

SET Lxevfhdi

This is used by the IBM VisualAge for C++ Compiler. Defines which files should be shown in the Editor HowTos.

SET Lxevfhdi=Evfelhdi.inf+Lpexhdi.inf

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

SET 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!

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

SET MenusFollowPointer

This variable enables the Warpcenter to follow the pointer with the selected menu. If the menu entry has a submenu you don't have to click on the arrow. Simply wait a second while the pointer is over the menu and the submenu will open.

SET MENUSFOLLOWPOINTER=value

Parameters:

Value can be ON or OFF.

  • SET MENUSFOLLOWPOINTER=ON

The menus of the Warpcenter follow the pointer.

  • SET MENUSFOLLOWPOINTER=OFF

The menus won't follow the pointer.

If this parameter is not set it defaults to OFF.

Platform Support:

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

SET MfsCache

Defines the path to the Cache directory for Mobile File Synchronization.

SET MfsCache=path

Parameters: Path can be any full path.

SET MMBASE

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

SET MMBASE=C:\MMOS2 

Platform Support:

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

SET 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:

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

SET 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 

SET MMTYPESEXTS

Undocumented variable for MMOS2.

SET MMVWRLOG

Undocumented variable for MMOS2.

SET MMVWRLOG=<path:\file>

SET MMWPSLOG

Undocumented variable for MMOS2.

SET MMWPSLOG=<path:\file>

SET MMYIELD

ex: SET MMYIELD=10

MOZILLA

These are the SET Statements for Mozilla Firefox and Thunderbird.

SET MOZ_PLUGIN_PATH

This statement is to separate the locations of the plugins for Firefox.

SET MOZ_PLUGIN_PATH=<path>

Platform Support:

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

SET 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:

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

Set MOZ_NO_REMOTE

Allows to run two instances of Firefox or Thunderbird simultaneously.

SET MOZ_NO_REMOTE=1

Parameters:

Platform Support:

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

SET 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:

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

SET NcDebug

This environment variable is used as a workaround for a bug in Lotus-123s video and audio play back function.

SET Ncdebug=4000

SET NetView_Path

Defines the path where the SystemView client is installed.

SET NetView_Path=path

Parameters:

Path can be any full path.

SET 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:

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

SET 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;

SET NntpServer

This is used by the Newsserver Changi.

SET NntpServer=value

Parameters:

SET 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:

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

SET 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

SET Nwdbpath

This line is used by the File and Print Client.

SET NwdbPath=path

Parameters:

Path can be any full path.

SET ObjC_Include_Path

Points to the path where the EMX-Objective-C Compiler stores the Include files.

SET ObjC_Include_Path=Path

Parameters:

Path can be any full path. If you have several path they must be delimited by a semicolon.

note: You must use the Unix-like forwardslashes instead of the backslashes. See the example below:

SET ObjC_Include_Path=c:/emx/include 

Object Desktop

This are the Set Statements used in the Stardock Object Desktop application.

SET 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:

SET 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:

SET 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:

SET 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:

SET 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:

SET Objd_NoF12Rollup

This environment variable is used by the Object Desktop from Stardock. Disables ALT-F12 roll-up accelerator.

SET Objd_NoF12Rollup=1

Parameters:

SET 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:

SET 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:

SET 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:

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

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

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

SET OS

Setting for dmake - a make program by Ariel Shkedi.

ex: SET OS=ecs
ex: SET OS=OS2

Platform Support:

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

The PATH variable specifies the search path for executables. This is used so that you can start an application from any directory without having to enter the path to the executable file.

SET PATH=Path1;Path2;Path3;

Parameters:

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

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:

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

SET 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:

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.

SET Pmas_Ini

This is used by the astronomy program PMAS. Defines the Path where PMAS stores its config files.

SET Pmas_Ini=Path

Parameters:

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

SET Pmas_Nls

This is used by the astronomy program PMAS.

SET Pmas_Nls=Path

Parameters:

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

Pmaskom_Data

This is used by the astronomy program PMAS.

SET Pmaskom_Data=file

Parameters:

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

Pmasmipl_Data

This is used by the astronomy program PMAS.

SET Pmasmipl_Data=file

Parameters:

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

Pmaspla_Dll

This is used by the astronomy program PMAS.

SET Pmaspla_Dll=value

Parameters:

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

Pmasgraf_Gap

This is used by the astronomy program PMAS.

SET Pmasgraf_Gap=Path

Parameters:

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

Pmasgraf_Gb

This is used by the astronomy program PMAS.

SET Pmasgraf_Gb=Path

Parameters:

  • Value can be any full path. If you have severall paths they must be delimited by a semicolon.
  • Value can be any full path. Relative paths are not allowed.

PmasD118_Data

This is used by the astronomy program PMAS.

SET PmasD118_Data=file

Parameters:

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

Defines the look of the OS/2 prompt.

SET Prompt=Options

See the OS/2 online help for the complete parameter description. note: You can also use ANSI escape sequences to customize your prompt.

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

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.

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

Runworkplace

This variable change the user interfase 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

SET 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

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

Spellguard

This are the Set Statements for Pronews.

Sg_Dict_Path

Defines a directory in which ProNews search for the Spellguard dictionary.

SET Sg_Dict_Path=C:\Pronews\Spell 

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

Sg_User_Path

Defines a directory in which Pronews search for the Spellguard user-dictionary.

SET Sg_User_Path=C:\Pronews\Spell 

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

SET 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

ET Sibyl_Reg

This line is used by the Speedsoft Sibyl Pascal compiler to store the registration key.

SET Sibyl_Reg=xxxxxxxxxx

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

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.

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

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

Sourcepath

Defines the path to the OS/2 install diskettes image files. Normally this is the OS2IMAGES directory on the OS/2 install CDRom, if you have the files somewhere else you can define here the right path. The Sourcepath variable is used by the OS/2 install programm and by the programms in the "Install/Delete" folder.

SET Sourcepath=path 

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.

Steward_Cf

This is used by the POP3 and SMTP Mailserver Inet.Mail.

SET Steward_Cf=Path

Parameters:

Path can be any full path.

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

Swing_Home

This line points to the home directory of the Java Swing Runtime.

SET Swing_Home=path

Parameters:

Path can be any full path.

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.

TERM

The TERM environment variable defines the terminal type for some applications which uses the EMX runtime environment. All available terminal types are stored in the termcap file defined by the TERMCAP environment variable.

SET TERM=ansi 

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

TERMCAP

Defines the termcap file for applications which uses the EMX runtime environment. The termcap file stores all the settings needed for a specific terminal type. The terminal type is set up by the Term variable.

SET TERMCAP=<path>
ex: SET TERMCAP=C:/user/emx/etc/termcap.dat

note: You must use a UNIX-like forward-slash as a directory separator!

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

SET TIMESYNC

New with eCS 1.1

SET TIMESYNC=<parameter>
ex: SET TIMESYNC=0

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

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

SET TZ

Use this to SET up the correct timezone you live in. The time zone is used by many network or internet application to determine the correct General Mean Time (GMT, UTC or MEZ).

 SET TZ=SSSdiffDDD,sm,sw,sd,st,em,ew,ed,et,offset
 ex: SET TZ=EST5

Parameters:

  • SSS

The identifier of the standard timezone (wintertime). It must be three characters long, start with a letter and can contain spaces.

  • diff

This is the difference between the GMT time and your local time. Diff is defined in hours, hours and minutes or hours, minutes and seconds. You can specify positive and negative values. Positive values denotes a timezone west of the Greenwich meridian. A negative value denotes a timezone east of the Greenwich meridian. See the examples for diff values below:

     Diff is one hour east -1
     Diff is one hour and 30 minutes west 1:30
     Diff is one hour, 30 minutes and 20 seconds west 1:30:20
  • DDD

The identifier of the daylight savings timezone (summertime). It must be three characters long, start with a letter and can contain spaces.

  • sm

Starting month of the daylight savings time. Sm can be in the range from 1 to 12 . Default: 4

  • sw

Starting week of the daylight savings time. Sw can be in the range from -4 to 4 . -1 is the last week of the month, -2 the week before the last week, ..., 0 no week specified, ... and 1 is the first week. Default: 1

  • sd

Starting day of the daylight savings time. Sd can be in the range from 0 to 6 if sw is not 0. 0 is the sunday, 1 is the monday, ... and 6 is the saturday. Sd can be in the range from 1 to 31 if sw equals 0. Default: 0

  • st

Starting time of the daylight savings time. St can be in the range from 1 to 86400 . St is counted in seconds from midnight. If the switch to daylight savings time occours at 01:00:00 O'clock in the night, you should set st to 3600. Default: 3600

  • em

Ending month of the daylight savings time. Em can be in the range from 1 to 12 . Default: 10

  • ew

Ending week of the daylight savings time. Ew can be in the range from -4 to 4 . -1 is the last week of the month, -2 the week before the last week, ..., 0 no week specified, ... and 1 is the first week. Default: -1

  • ed

Ending day of the daylight savings time. Ed can be in the range from 0 to 6 if ew is not 0. 0 is the sunday, 1 is the monday, ... and 6 is the saturday. Ed can be in the range from 1 to 31 if ew equals 0. Default: 0

  • et

Ending time of the daylight savings time. Et can be in the range from 1 to 86400 . Et is counted in seconds from midnight. If the switch to daylight savings time occours at 01:00:00 O'clock in the night, you should set et to 3600. Default: 7200

  • offset

The difference between standard time and daylights savings time. Offset can be in the range from 1 to 86400. One hour is 3600 seconds. Default: 3600

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

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

SET UNZIPOPT

SET UNZIPOPT=<parameter>
ex: SET UNZIPOPT=-C

Parameters

  • -Z

zipinfo(1L) mode. If the first option on the command line is -Z, the remaining options are taken to be zipinfo(1L) options. See the appropriate manual page for a description of these options.

  • -A

[OS/2, Unix DLL] print extended help for the DLL's programming interface (API).

  • -c

extract files to stdout/screen (``CRT). This option is similar to the -p option except that the name of each file is printed as it is extracted, the -a option is allowed, and ASCII-EBCDIC conversion is automatically performed if appropriate. This option is not listed in the unzip usage screen.

  • -f

freshen existing files, i.e., extract only those files that already exist on disk and that are newer than the disk copies. By default unzip queries before overwriting, but the -o option may be used to suppress the queries. Note that under many operating systems, the TZ (timezone) environment variable must be set correctly in order for -f and -u to work properly (under Unix the variable is usually set automatically). The reasons for this are somewhat subtle but have to do with the differences between DOS-format file times (always local time) and Unix-format times (always in GMT/UTC) and the necessity to compare the two. A typical TZ value is ``PST8PDT (US Pacific time with automatic adjustment for Daylight Savings Time or ``summer time).

  • -l

list archive files (short format). The names, uncompressed file sizes and modification dates and times of the specified files are printed, along with totals for all files specified. If UnZip was compiled with OS2_EAS defined, the -l option also lists columns for the sizes of stored OS/2 extended attributes (EAs) and OS/2 access control lists (ACLs). In addition, the zipfile comment and individual file comments (if any) are displayed. If a file was archived from a single-case file system (for example, the old MS-DOS FAT file system) and the -L option was given, the filename is converted to lowercase and is prefixed with a caret (^).

  • -p

extract files to pipe (stdout). Nothing but the file data is sent to stdout, and the files are always extracted in binary format, just as they are stored (no conversions).

  • -t

test archive files. This option extracts each specified file in memory and compares the CRC (cyclic redundancy check, an enhanced checksum) of the expanded file with the original file's stored CRC value.

  • -T

[most OSes] set the timestamp on the archive(s) to that of the newest file in each one. This corresponds to zip's -go option except that it can be used on wildcard zipfiles (e.g., ``unzip -T \*.zip) and is much faster.

  • -u

update existing files and create new ones if needed. This option performs the same function as the -f option, extracting (with query) files that are newer than those with the same name on disk, and in addition it extracts those files that do not already exist on disk. See -f above for information on setting the timezone properly.

  • -v

be verbose or print diagnostic version info. This option has evolved and now behaves as both an option and a modifier. As an option it has two purposes: when a zipfile is specified with no other options, -v lists archive files verbosely, adding to the basic -l info the compression method, compressed size, compression ratio and 32-bit CRC. When no zipfile is specified (that is, the complete command is simply ``unzip -v), a diagnostic screen is printed. In addition to the normal header with release date and version, unzip lists the home Info-ZIP ftp site and where to find a list of other ftp and non-ftp sites; the target operating system for which it was compiled, as well as (possibly) the hardware on which it was compiled, the compiler and version used, and the compilation date; any special compilation options that might affect the program's operation ; and any options stored in environment variables that might do the same . As a modifier it works in conjunction with other options (e.g., -t) to produce more verbose or debugging output; this is not yet fully implemented but will be in future releases.

  • -z

display only the archive comment.

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.

VACPP_Shared

This line is used by the IBM VisualAge C++ Compiler.

SET VACPP_Shared=False

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

VBPath

This line is used by the IBM VisualAge C++ Compiler.

SET VbPath=Path

Parameters:

Path can be any full path. If you have several paths they must be delimited by a semicolon.

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

VCFG_NO_DDC

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.

SET Vcfg_No_DDC=value

Parameters:

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.

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

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)

SET Video_Devices

Needed by VGA and SVGA Graphic cards.

SET VIDEO_DEVICES=VIO_SVGA 

VisPro

VisProC

Used by Vispro C. Points to the directory where Vispro C is installed.

SET VisproC=Path

Parameters:

Path can be any full path.

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

VisProRx

Used by Vispro Rexx. Points to the directory where Vispro Rexx is installed.

SET VisproRX=Path

Parameters:

Path can be any full path.

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

Virtual Pascal

VpBase

Points to the directory where Virtual Pascal is installed.

SET VpBase=Path

Parameters:

Path can be any full path.

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

VpHelp

Defines the directory where the Virtual Pascal help files are stored.

SET VpHelp=Path

Parameters:

Path can be any full path.

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

VpLib

Points to the Virtual Pascal Library files.

SET VpLib=Path

Parameters:

Path can be any full path.

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

VpOut

Used by Virtual Pascal. Defines the directory where the compiled projects should be written to.

SET VpOut=Path

Parameters:

Path can be any full path.

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

VxRexx

Used by Watcom VX-Rexx. Points to the directory where VX-Rexx is installed.

  SET VxRexx=Path

Parameters:

Path can be any full path.

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

WATCOM

This line is used by the Watcom C/C++ Compiler and defines the directory where it is installed.

SET WATCOM=<path>

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

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

SET WPS_COMMUNICATION

This line is used by the File and Print Client.

SET WPS_COMMUNICATION=YES 

SET X11Root

Needed by XFree86/OS2. Points to the directory in which the \XFree86 directory is installed.

SET X11Root=E:

If you have installed XFree86/OS2 in the directory "D:\user\emx\Xfree86" then set up X11Root to "D:/user/emx"

note: You must use a Unix like forward-slash as a directory separator!

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

SET X11Shell

Needed by XFree86/2. Defines the shell to be used within XFree86/2, if you want to use the standard Cmd.exe this line is not necessary.

SET X11Shell=E:\user\emx\XFree86\ 

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

SET XPRO...

This parameters was found on XTEL software configurations (version 5.6 (MINI X-TEL) and 6.0). This software is for PLC usage.

SET XPROSYS=X:\XPROSYS
SET XPROHELP=X:\XPROSYS\HLP
SET QH=X:\XPROSYS\HLP
SET XPROUSR=X:\XPROSYS
SET XPROMOD=X:\XPROSYS
IOPL=YES

XServer

Needed by XFree86/OS2. Defines the X server to be used. You must choose the right server for your graphics adapter card.

SET XServer=X:/USER/EMS/XFREE86/BIN/XF86_SVGA.exe

Parameters:

note: You must use a Unix like forward-slash as a directory separator!

Possible X Servers are:

  • XF86_Mono.exe
  • XF86_SVGA.exe
  • XF86_VG16.exe
  • XF86_8514.exe
  • XF86_AGX.exe
  • XF86_Glnt.exe
  • XF86_I128.exe
  • XF86_Ma8.exe
  • XF86_Ma32.exe
  • XF86_Ma64.exe
  • XF86_P9k.exe
  • XF86_S3.exe
  • XF86_S3V.exe
  • XF86_W32.exe

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