Jump to content

CONFIG.SYS - SET Statements: Difference between revisions

From EDM2
No edit summary
Ak120 (talk | contribs)
 
(327 intermediate revisions by 5 users not shown)
Line 1: Line 1:
[[The Config.sys Documentation Project|Return to The Config.sys Documentation Project Main Page]]
{{CFGProject}}
Environment variables are stored by OS/2 in memory and can be called by any program. They are used by many programs to store information (for example, the install path) or some configuration information. If you want to see a list of all installed environment variables and their values, type "Set" in an OS/2 window. If the list is too long, you can redirect the screen output to a file, simply type this:
SET >output.txt


Environment variables are stored by OS/2 in memory and can be called
==General Tips==
Note that SET commands in CONFIG.SYS behave differently than when entered on the command line.


by any program. They are used by many programs to store information
So, when you issue the following commands in a OS/2 session:
SET TEMP=C:\TMP
SET TMP=%TEMP%
you get:
TEMP=C:\TMP
TMP=C:\TMP
But, if you add the same lines to CONFIG.SYS:
SET TEMP=C:\TMP
SET TMP=%TEMP%
you get:
TEMP=C:\TMP
TMP=%TEMP%
but not TMP=C:\TMP. The environment variable TMP now has the value composed by the letters "%", "T", "E", "M", "P", "%". For that reason, in CONFIG.SYS, you must write the values explicitly as follows:
SET TEMP=C:\TMP
SET TMP=C:\TMP
This is because variables are not expanded during CONFIG.SYS processing, but they are when run from a shell (command line).


(for example, the install path) or some configuration information. If
==Base Operating System==
*[[COMSPEC]]
*[[C1]]
*[[DELDIR]] - undelete directory
*[[DESKTOP]]
*[[DIRCMD]] - dir command options
*[[DISPLAYTYPE]]
*[[DPATH (Environment variable)|DPATH]] - search path for data files
*[[ENH_STRETCH]] - enhanced stretch-blitting
*[[ENH_SUSPEND]] - enhanced suspend option
*[[GRADD_CHAINS]]
*[[GREEXT]]
*[[KEYS]] - command line history
*[[LANG]] - country-specific settings
*[[OBJECTSNOOZETIME]]
*[[OS2_SHELL]] - command line shell
*[[PATH]] - search path for executable files
*[[PROMPT (Environment variable)|PROMPT]] - OS/2 session prompt appearance.
*[[RUNWORKPLACE]]
*[[ULSPATH]]
*[[VIDEO_DEVICES]]
*[[VIO_MGA]]
*[[VIO_SVGA]]


you want to see a list of all installed environment variables and
===PM===
*[[BACKGROUNDBITMAP]]
*[[BACKGROUNDBITMAP2]]
*[[BACKGROUNDBITMAPDELAY]]
*[[BACKGROUNDBITMAPDELAY2]]
*[[DEVICEFONTDISABLED]]
*[[HARDWAREBITBLT]]
*[[NCDEBUG]]
*[[PM_ASYNC_FOCUS_CHANGE]]
*[[PM_DYNAMIC_DRAG]]
*[[PM_ROLLUP_BUTTON]]
*[[QUEUE_SIZE_THRESHOLD]]
*[[SYSTEM_INI]] - Tells the system the path and name of the System INI file.
*[[USER_INI]]
*[[VCFG_NO_DDC]] - GRADD DDC


their values, type "Set" in an OS/2 window. If the list is too long,
===Help Manager===
*[[BOOKSHELF]] - help manager search path for book shelves
*[[GLOSSARY]]
*[[HELP (Environment variable)|HELP]]
*[[HELPNDX]] - Help index


you can redirect the screen output to a file, simply type this "Set
===Workplace Shell===
*[[AUTOREFRESHFOLDERS]] - automatic refresh of folders
*[[AUTOSTART]] - autostart of objects
*[[MENUSTYLE]] - context menu entries
*[[NEWNOTEBOOKS]]
*[[NOLARGENTEXEICON]]
*[[RESTARTOBJECTS]]
*[[SHAPIEXCEPTIONHANDLER]]
*[[SHELLEXCEPTIONHANDLER]] - Disable the WPS exception handler.
*[[SHELLHANDLESINC]] - Increases the number of file handles.
*[[SHOWEXTENDEDPOWERMENU]] - Intel SpeedStep
*SOMDDIR
*[[SOMIR]]
*[[WPDSERVERSTART]]


>output.txt".
;WarpCenter
*[[MENUSFOLLOWPOINTER]] - WarpCenter menu behaviour
*[[SCCANBENUKED]] - Allows the Warpcenter to have a delete option on its context menu.
*[[SCFINDUTILITY]] - Use a different search program in the Warpcenter.
*[[SCKILLCONFIRMDISABLED]] - Avoid the "Are you sure ..." dialogue if using the Warpcenter kill feature.
*[[SCKILLFEATUREENABLED]] -  Enables Warpcenter window list Warpcenter Window List as an application killer.
*[[SCUSEPRETTYCLOCK]] - Change the look of the Warpcenter clock.


=SET Adapter_Nif=
===Multimedia===
This Statement is part of the Lan Adapter and Protocol Support (LAPS)
*[[DSPPATH]]
*[[MMBASE]]
*[[MMSTREAM]]
*[[MMTYPESEXTS]]
*[[MMVWRLOG]]
*[[MMWPSLOG]]
*[[MMYIELD]]


and points out the network information file (NIF) for the installed
===Installation===
*[[CDROMINST]]
*[[COPYFROMFLOPPY]]
*[[SAVECONNECT]]
*[[SOURCEPATH]]


LAN card.
==Layered Products==
===Programming Environments===
;Toolkit
*[[CPREF]] - Control Program Reference
*[[GPIREF]] - GPI Reference
*[[INCLUDE]] - Include directory
*[[IPF_KEYS]] - IPF key definitions
*[[IPFC]] - IPF compiler
*[[LIB]] - Points to directories where lib files are stored.
*[[MMREF]] - Defines which files should be shown in the Multimedia Programming Reference.
*[[PMREF]] - Presentation Manager Reference
*[[WPSREF]] - Workplace Shell Reference


  SET Adapter_Nif=value
;SOM
*[[SMADDSTAR]]
*[[SMCLASSES]]
*[[SMEMIT]]
*[[SMINCLUDE]] - Defines the directories where the special SOM header files are stored.
*[[SMNOTC]]
*[[SMTMP]] - Points to a directory used to store temporary files.


Parameters:
;SOMobjects
*[[AVLSVRNAME]]
*[[SOMBASE]]
*[[SOMDDEBUG]]
*[[SOMDIR]]
*[[SOMDMESSAGELOG]]
*[[SOMDPORT]]
*[[SOMDTIMEOUT]]
*[[SOMRUNTIME]]
*[[SOMSOCKETS]]
*[[SOMTHREADPEER]]


Value can be any NIF file . The NIF file must be located in the
;Java Run-time
*[[CLASSPATH]] - Java run-time classpath
*[[SWING_HOME]] - Swing run-time


C:\IBMCOM\MACS directory.
===Networking===
;LAPS
*[[ADAPTER_NIF]]
*[[ETC]]


<b>Platform Support:</b>
;LAN Services
{| class="wikitable" style="text-align:center" border="1"
*[[DLSINI]]
|-
*[[INIT_FILE_NAMES]]
!OS/2 2.x
*[[INIT_FILE_RANGES]]
!OS/2 3.0
*[[LANINSTEP]]
!OS/2 4.0
*[[LOCPATH]] - Points to the location of the language files.
!OS/2 4.5x
*[[NWDBPATH]]
!eCS 1.x
*[[WPS_COMMUNICATION]]
!eCs 2.x
|-
|Yes
|Yes
|Yes
|Yes
|Yes
|Yes
|}


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


The AUTOREFRESHFOLDERS variable disables the automatic refresh of
;MFS
*[[MFSCACHE]] - mobile file sync


folders.
;Global Security Runtime
*[[IKEYMAN_HOME]]
*[[IKEYMAN40_HOME]]
*[[IKEYMAN50_HOME]]


  SET AUTOREFRESHFOLDERS=value
*[[LOGNAME]]
*[[MGA]] - Matrox graphic cards directory


Default settings:
*[[NETVIEW_PATH]] - Defines the path where the SystemView client is installed.


* SET AUTOREFRESHFOLDERS=YES
*[[SRVNAME1]] - Used for remote installations of OS/2.


Parameters:
*[[TEMP]] - Define a directory were OS/2 and programs can store temporarily files.
*[[TMP]] - Define a directory were OS/2 and programs can store temporarily files.


Value can be YES or NO .


* SET AUTOREFRESHFOLDERS=YES
Check also [[CONFIG.SYS - SET Statements (Additional software)]].
The automatic refresh of folders is enabled.  


* SET AUTOREFRESHFOLDERS=NO
[[Category: The Config.sys Documentation Project]]
The automatic refresh of folders is disabled.
 
If this parameter is not set it defaults to YES .
 
<b>Platform Support:</b>
{| class="wikitable" style="text-align:center" border="1"
|-
!OS/2 2.x
!OS/2 3.0
!OS/2 4.0
!OS/2 4.5x
!eCS 1.x
!eCs 2.x
|-
|Yes
|Yes
|Yes
|Yes
|Yes
|Yes
|}
 
=SET AutoReply=
This is used by the POP3 and SMTP Mailserver Inet.Mail.
 
  SET AutoReply=Path
 
Parameters:
 
Path can be any full path .
 
<b>Platform Support:</b>
{| class="wikitable" style="text-align:center" border="1"
|-
!OS/2 2.x
!OS/2 3.0
!OS/2 4.0
!OS/2 4.5x
!eCS 1.x
!eCs 2.x
|-
|Yes
|Yes
|Yes
|Yes
|Yes
|Yes
|}
 
=SET Autostart=
The AUTOSTART 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.
 
<b>Platform Support:</b>
{| class="wikitable" style="text-align:center" border="1"
|-
!OS/2 2.x
!OS/2 3.0
!OS/2 4.0
!OS/2 4.5x
!eCS 1.x
!eCs 2.x
|-
|Yes
|Yes
|Yes
|Yes
|Yes
|Yes
|}
 
=SET BeginLibpath=
With this variable can you enhance the Libpath . All paths you define
 
in the Beginlibpath variable are added in front of the Libpath
 
entries. It is normally not used in the Config.sys file, it is
 
usefull at the command line and in scripts.
 
  SET BeginLibpath=path;path2
 
parameters:
 
If you have several paths they must be delimited by a semicolon.
 
<b>Platform Support:</b>
{| class="wikitable" style="text-align:center" border="1"
|-
!OS/2 2.x
!OS/2 3.0
!OS/2 4.0
!OS/2 4.5x
!eCS 1.x
!eCs 2.x
|-
|Yes
|Yes
|Yes
|Yes
|Yes
|Yes
|}
 
=SET 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 .
 
<b>Platform Support:</b>
{| class="wikitable" style="text-align:center" border="1"
|-
!OS/2 2.x
!OS/2 3.0
!OS/2 4.0
!OS/2 4.5x
!eCS 1.x
!eCs 2.x
|-
|Yes
|Yes
|Yes
|Yes
|Yes
|Yes
|}
 
=SET C1=
This variable is used by some Gradd based Video Card Driver. Gradd
 
drivers can only be used on Warp with a resent fixpack level.
 
  SET C1=Parameter
 
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.
 
<b>Platform Support:</b>
{| class="wikitable" style="text-align:center" border="1"
|-
!OS/2 2.x
!OS/2 3.0
!OS/2 4.0
!OS/2 4.5x
!eCS 1.x
!eCs 2.x
|-
|Yes
|Yes
|Yes
|Yes
|Yes
|Yes
|}
 
=SET 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
 
 
 
<b>Platform Support:</b>
{| class="wikitable" style="text-align:center" border="1"
|-
!OS/2 2.x
!OS/2 3.0
!OS/2 4.0
!OS/2 4.5x
!eCS 1.x
!eCs 2.x
|-
|Yes
|Yes
|Yes
|Yes
|Yes
|Yes
|}
 
=SET CAT=
Set Statements used by the ICAT debugger.
 
==SET CAT_Communication_Type==
Is used by the ICAT debugger.
 
  SET Cat_Communication_Type=value
 
<b>Platform Support:</b>
{| class="wikitable" style="text-align:center" border="1"
|-
!OS/2 2.x
!OS/2 3.0
!OS/2 4.0
!OS/2 4.5x
!eCS 1.x
!eCs 2.x
|-
|Yes
|Yes
|Yes
|Yes
|Yes
|Yes
|}
 
==SET 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.
 
<b>Platform Support:</b>
{| class="wikitable" style="text-align:center" border="1"
|-
!OS/2 2.x
!OS/2 3.0
!OS/2 4.0
!OS/2 4.5x
!eCS 1.x
!eCs 2.x
|-
|Yes
|Yes
|Yes
|Yes
|Yes
|Yes
|}
 
==SET 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.
 
<b>Platform Support:</b>
{| class="wikitable" style="text-align:center" border="1"
|-
!OS/2 2.x
!OS/2 3.0
!OS/2 4.0
!OS/2 4.5x
!eCS 1.x
!eCs 2.x
|-
|Yes
|Yes
|Yes
|Yes
|Yes
|Yes
|}
 
==SET 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.
 
<b>Platform Support:</b>
{| class="wikitable" style="text-align:center" border="1"
|-
!OS/2 2.x
!OS/2 3.0
!OS/2 4.0
!OS/2 4.5x
!eCS 1.x
!eCs 2.x
|-
|Yes
|Yes
|Yes
|Yes
|Yes
|Yes
|}
 
==SET CAT_JVM_ARGS==
Is used by the ICAT debugger.
 
  SET CAT_JVM_ARGS=parameters
 
Parameters:
 
Parameters can be any valid option for the JVM .
 
<b>Platform Support:</b>
{| class="wikitable" style="text-align:center" border="1"
|-
!OS/2 2.x
!OS/2 3.0
!OS/2 4.0
!OS/2 4.5x
!eCS 1.x
!eCs 2.x
|-
|Yes
|Yes
|Yes
|Yes
|Yes
|Yes
|}
 
==SET 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 .
 
<b>Platform Support:</b>
{| class="wikitable" style="text-align:center" border="1"
|-
!OS/2 2.x
!OS/2 3.0
!OS/2 4.0
!OS/2 4.5x
!eCS 1.x
!eCs 2.x
|-
|Yes
|Yes
|Yes
|Yes
|Yes
|Yes
|}
 
==SET 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.
 
<b>Platform Support:</b>
{| class="wikitable" style="text-align:center" border="1"
|-
!OS/2 2.x
!OS/2 3.0
!OS/2 4.0
!OS/2 4.5x
!eCS 1.x
!eCs 2.x
|-
|Yes
|Yes
|Yes
|Yes
|Yes
|Yes
|}
 
==SET 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.
 
<b>Platform Support:</b>
{| class="wikitable" style="text-align:center" border="1"
|-
!OS/2 2.x
!OS/2 3.0
!OS/2 4.0
!OS/2 4.5x
!eCS 1.x
!eCs 2.x
|-
|Yes
|Yes
|Yes
|Yes
|Yes
|Yes
|}
 
==SET 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.
 
<b>Platform Support:</b>
{| class="wikitable" style="text-align:center" border="1"
|-
!OS/2 2.x
!OS/2 3.0
!OS/2 4.0
!OS/2 4.5x
!eCS 1.x
!eCs 2.x
|-
|Yes
|Yes
|Yes
|Yes
|Yes
|Yes
|}
 
 
=SET 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
 
<b>Platform Support:</b>
{| class="wikitable" style="text-align:center" border="1"
|-
!OS/2 2.x
!OS/2 3.0
!OS/2 4.0
!OS/2 4.5x
!eCS 1.x
!eCs 2.x
|-
|Yes
|Yes
|Yes
|Yes
|Yes
|Yes
|}
 
=SET 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 .
 
<b>Platform Support:</b>
{| class="wikitable" style="text-align:center" border="1"
|-
!OS/2 2.x
!OS/2 3.0
!OS/2 4.0
!OS/2 4.5x
!eCS 1.x
!eCs 2.x
|-
|Yes
|Yes
|Yes
|Yes
|Yes
|Yes
|}
 
 
=SET ChangiAutoFlush=
This is used by the Newsserver Changi.
 
  SET ChangiAutoFlush=value
 
Parameters:
 
<b>Platform Support:</b>
{| class="wikitable" style="text-align:center" border="1"
|-
!OS/2 2.x
!OS/2 3.0
!OS/2 4.0
!OS/2 4.5x
!eCS 1.x
!eCs 2.x
|-
|Yes
|Yes
|Yes
|Yes
|Yes
|Yes
|}
 
=SET ChangiHistory=
This is used by the Newsserver Changi.
 
  SET ChangiHistory=Path
 
Parameters:
 
<b>Platform Support:</b>
{| class="wikitable" style="text-align:center" border="1"
|-
!OS/2 2.x
!OS/2 3.0
!OS/2 4.0
!OS/2 4.5x
!eCS 1.x
!eCs 2.x
|-
|Yes
|Yes
|Yes
|Yes
|Yes
|Yes
|}
 
=SET ChangiHostName=
This is used by the Newsserver Changi.
 
  SET ChangiHostName=value
 
Parameters:
 
<b>Platform Support:</b>
{| class="wikitable" style="text-align:center" border="1"
|-
!OS/2 2.x
!OS/2 3.0
!OS/2 4.0
!OS/2 4.5x
!eCS 1.x
!eCs 2.x
|-
|Yes
|Yes
|Yes
|Yes
|Yes
|Yes
|}
 
=SET ChangiLocalHost=
This is used by the Newsserver Changi.
 
  SET ChangiLocalHost=value
 
Parameters:
 
<b>Platform Support:</b>
{| class="wikitable" style="text-align:center" border="1"
|-
!OS/2 2.x
!OS/2 3.0
!OS/2 4.0
!OS/2 4.5x
!eCS 1.x
!eCs 2.x
|-
|Yes
|Yes
|Yes
|Yes
|Yes
|Yes
|}
 
=SET ChangiNewsDir=
This is used by the Newsserver Changi.
 
  SET ChangiNewsDir=Path
 
Parameters:
 
<b>Platform Support:</b>
{| class="wikitable" style="text-align:center" border="1"
|-
!OS/2 2.x
!OS/2 3.0
!OS/2 4.0
!OS/2 4.5x
!eCS 1.x
!eCs 2.x
|-
|Yes
|Yes
|Yes
|Yes
|Yes
|Yes
|}
 
=SET ChangiNodeName=
This is used by the Newsserver Changi.
 
  SET ChangiNodeName=value
 
Parameters:
 
<b>Platform Support:</b>
{| class="wikitable" style="text-align:center" border="1"
|-
!OS/2 2.x
!OS/2 3.0
!OS/2 4.0
!OS/2 4.5x
!eCS 1.x
!eCs 2.x
|-
|Yes
|Yes
|Yes
|Yes
|Yes
|Yes
|}
 
=SET ChangiOverDir=
This is used by the Newsserver Changi.
 
  SET ChangiOverDir=Path
 
Parameters:
 
<b>Platform Support:</b>
{| class="wikitable" style="text-align:center" border="1"
|-
!OS/2 2.x
!OS/2 3.0
!OS/2 4.0
!OS/2 4.5x
!eCS 1.x
!eCs 2.x
|-
|Yes
|Yes
|Yes
|Yes
|Yes
|Yes
|}
 
=SET ChangiPathHost=
This is used by the Newsserver Changi.
 
  SET ChangiPathHost=value
 
Parameters:
 
<b>Platform Support:</b>
{| class="wikitable" style="text-align:center" border="1"
|-
!OS/2 2.x
!OS/2 3.0
!OS/2 4.0
!OS/2 4.5x
!eCS 1.x
!eCs 2.x
|-
|Yes
|Yes
|Yes
|Yes
|Yes
|Yes
|}
 
=SET ChangiWorkDir=
This is used by the Newsserver Changi.
 
  SET ChangiWorkDir=Path
 
Parameters:
 
<b>Platform Support:</b>
{| class="wikitable" style="text-align:center" border="1"
|-
!OS/2 2.x
!OS/2 3.0
!OS/2 4.0
!OS/2 4.5x
!eCS 1.x
!eCs 2.x
|-
|Yes
|Yes
|Yes
|Yes
|Yes
|Yes
|}
 
=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.
 
<b>Platform Support:</b>
{| class="wikitable" style="text-align:center" border="1"
|-
!OS/2 2.x
!OS/2 3.0
!OS/2 4.0
!OS/2 4.5x
!eCS 1.x
!eCs 2.x
|-
|Yes
|Yes
|Yes
|Yes
|Yes
|Yes
|}
 
=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 .
 
<b>Platform Support:</b>
{| class="wikitable" style="text-align:center" border="1"
|-
!OS/2 2.x
!OS/2 3.0
!OS/2 4.0
!OS/2 4.5x
!eCS 1.x
!eCs 2.x
|-
|Yes
|Yes
|Yes
|Yes
|Yes
|Yes
|}
 
=SET 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 copy all standard drivers
 
from the diskettes to your harddisk during the install process. If it
 
is not set up, OS/2 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 .
 
<b>Platform Support:</b>
{| class="wikitable" style="text-align:center" border="1"
|-
!OS/2 2.x
!OS/2 3.0
!OS/2 4.0
!OS/2 4.5x
!eCS 1.x
!eCs 2.x
|-
|Yes
|Yes
|Yes
|Yes
|Yes
|Yes
|}
 
=SET CppHelp_Ini=
Is used by the IBM Visualage for C++ Compiler.
 
  SET CppHelp_Ini=path
 
Parameters:
 
Path can be any full path .
 
<b>Platform Support:</b>
{| class="wikitable" style="text-align:center" border="1"
|-
!OS/2 2.x
!OS/2 3.0
!OS/2 4.0
!OS/2 4.5x
!eCS 1.x
!eCs 2.x
|-
|Yes
|Yes
|Yes
|Yes
|Yes
|Yes
|}
 
=SET CppLocal=
Is used by the IBM Visualage for C++ Compiler.
 
  SET CppLocal=path
 
Parameters:
 
Path can be any full path .
 
<b>Platform Support:</b>
{| class="wikitable" style="text-align:center" border="1"
|-
!OS/2 2.x
!OS/2 3.0
!OS/2 4.0
!OS/2 4.5x
!eCS 1.x
!eCs 2.x
|-
|Yes
|Yes
|Yes
|Yes
|Yes
|Yes
|}
 
=SET CppMain=
Is used by the IBM Visualage for C++ Compiler.
 
  SET CppMain=path
 
Parameters:
 
Path can be any full path .
 
<b>Platform Support:</b>
{| class="wikitable" style="text-align:center" border="1"
|-
!OS/2 2.x
!OS/2 3.0
!OS/2 4.0
!OS/2 4.5x
!eCS 1.x
!eCs 2.x
|-
|Yes
|Yes
|Yes
|Yes
|Yes
|Yes
|}
 
 
=SET CppWork=
Is used by the IBM Visualage for C++ Compiler.
 
  SET CppWork=path
 
Parameters:
 
Path can be any full path .
 
<b>Platform Support:</b>
{| class="wikitable" style="text-align:center" border="1"
|-
!OS/2 2.x
!OS/2 3.0
!OS/2 4.0
!OS/2 4.5x
!eCS 1.x
!eCs 2.x
|-
|Yes
|Yes
|Yes
|Yes
|Yes
|Yes
|}
 
=SET 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
 
<b>Platform Support:</b>
{| class="wikitable" style="text-align:center" border="1"
|-
!OS/2 2.x
!OS/2 3.0
!OS/2 4.0
!OS/2 4.5x
!eCS 1.x
!eCs 2.x
|-
|Yes
|Yes
|Yes
|Yes
|Yes
|Yes
|}
 
=SET DCF2=
These are the environment variables used by the DCF/2 disk
 
compression program.
 
==SET 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
 
<b>Platform Support:</b>
{| class="wikitable" style="text-align:center" border="1"
|-
!OS/2 2.x
!OS/2 3.0
!OS/2 4.0
!OS/2 4.5x
!eCS 1.x
!eCs 2.x
|-
|Yes
|Yes
|Yes
|Yes
|Yes
|Yes
|}
 
==SET DCF2_Acp_Auto_Optimize_Level==
This environment variable is used by the DCF/2 disk compression
 
program.
 
  SET Dcf2_Acp_Auto_Optimize_Level=0
 
<b>Platform Support:</b>
{| class="wikitable" style="text-align:center" border="1"
|-
!OS/2 2.x
!OS/2 3.0
!OS/2 4.0
!OS/2 4.5x
!eCS 1.x
!eCs 2.x
|-
|Yes
|Yes
|Yes
|Yes
|Yes
|Yes
|}
 
==SET DCF2_Acp_Auto_Optimize_Mins==
This environment variable is used by the DCF/2 disk compression
 
program.
 
  SET Dcf2_Acp_Auto_Optimize_Mins=60
 
<b>Platform Support:</b>
{| class="wikitable" style="text-align:center" border="1"
|-
!OS/2 2.x
!OS/2 3.0
!OS/2 4.0
!OS/2 4.5x
!eCS 1.x
!eCs 2.x
|-
|Yes
|Yes
|Yes
|Yes
|Yes
|Yes
|}
 
==SET DCF2_Acp_Cache_Blocks==
This environment variable is used by the DCF/2 disk compression
 
program.
 
  SET DCF2_Acp_Cache_Blocks=128
 
<b>Platform Support:</b>
{| class="wikitable" style="text-align:center" border="1"
|-
!OS/2 2.x
!OS/2 3.0
!OS/2 4.0
!OS/2 4.5x
!eCS 1.x
!eCs 2.x
|-
|Yes
|Yes
|Yes
|Yes
|Yes
|Yes
|}
 
==SET DCF2_Acp_Compression_Level==
This environment variable is used by the DCF/2 disk compression
 
program.
 
  SET Dcf2_Acp_Compression_Level=2
 
<b>Platform Support:</b>
{| class="wikitable" style="text-align:center" border="1"
|-
!OS/2 2.x
!OS/2 3.0
!OS/2 4.0
!OS/2 4.5x
!eCS 1.x
!eCs 2.x
|-
|Yes
|Yes
|Yes
|Yes
|Yes
|Yes
|}
 
==SET DCF2_Acp_Debug==
This environment variable is used by the DCF/2 disk compression
 
program.
 
  SET Dcf2_Acp_Debug=3
 
<b>Platform Support:</b>
{| class="wikitable" style="text-align:center" border="1"
|-
!OS/2 2.x
!OS/2 3.0
!OS/2 4.0
!OS/2 4.5x
!eCS 1.x
!eCs 2.x
|-
|Yes
|Yes
|Yes
|Yes
|Yes
|Yes
|}
 
==SET DCF2_Acp_Foreground_Compress_Rate==
This environment variable is used by the DCF/2 disk compression
 
program.
 
  SET Dcf2_Acp_Foreground_Compress_Rate=5
 
<b>Platform Support:</b>
{| class="wikitable" style="text-align:center" border="1"
|-
!OS/2 2.x
!OS/2 3.0
!OS/2 4.0
!OS/2 4.5x
!eCS 1.x
!eCs 2.x
|-
|Yes
|Yes
|Yes
|Yes
|Yes
|Yes
|}
 
==SET DCF2_Acp_Logng==
This environment variable is used by the DCF/2 disk compression
 
program.
 
  SET Dcf2_Acp_Logng=3
 
<b>Platform Support:</b>
{| class="wikitable" style="text-align:center" border="1"
|-
!OS/2 2.x
!OS/2 3.0
!OS/2 4.0
!OS/2 4.5x
!eCS 1.x
!eCs 2.x
|-
|Yes
|Yes
|Yes
|Yes
|Yes
|Yes
|}
 
==SET DCF2_Acp_Maxage_Secs==
This environment variable is used by the DCF/2 disk compression
 
program.
 
  SET Dcf2_Acp_Maxage_Secs=5
 
<b>Platform Support:</b>
{| class="wikitable" style="text-align:center" border="1"
|-
!OS/2 2.x
!OS/2 3.0
!OS/2 4.0
!OS/2 4.5x
!eCS 1.x
!eCs 2.x
|-
|Yes
|Yes
|Yes
|Yes
|Yes
|Yes
|}
 
==SET 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
 
<b>Platform Support:</b>
{| class="wikitable" style="text-align:center" border="1"
|-
!OS/2 2.x
!OS/2 3.0
!OS/2 4.0
!OS/2 4.5x
!eCS 1.x
!eCs 2.x
|-
|Yes
|Yes
|Yes
|Yes
|Yes
|Yes
|}
 
==SET 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
 
<b>Platform Support:</b>
{| class="wikitable" style="text-align:center" border="1"
|-
!OS/2 2.x
!OS/2 3.0
!OS/2 4.0
!OS/2 4.5x
!eCS 1.x
!eCs 2.x
|-
|Yes
|Yes
|Yes
|Yes
|Yes
|Yes
|}
 
==SET 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
 
<b>Platform Support:</b>
{| class="wikitable" style="text-align:center" border="1"
|-
!OS/2 2.x
!OS/2 3.0
!OS/2 4.0
!OS/2 4.5x
!eCS 1.x
!eCs 2.x
|-
|Yes
|Yes
|Yes
|Yes
|Yes
|Yes
|}
 
 
==SET DCF2_Acp_Priority==
This environment variable is used by the DCF/2 disk compression
 
program.
 
  SET Dcf2_Acp_Priority=2
 
<b>Platform Support:</b>
{| class="wikitable" style="text-align:center" border="1"
|-
!OS/2 2.x
!OS/2 3.0
!OS/2 4.0
!OS/2 4.5x
!eCS 1.x
!eCs 2.x
|-
|Yes
|Yes
|Yes
|Yes
|Yes
|Yes
|}
 
==SET DCF2_Acp_Priority_Delta==
This environment variable is used by the DCF/2 disk compression
 
program.
 
  SET Dcf2_Acp_Priority_Delta=2
 
<b>Platform Support:</b>
{| class="wikitable" style="text-align:center" border="1"
|-
!OS/2 2.x
!OS/2 3.0
!OS/2 4.0
!OS/2 4.5x
!eCS 1.x
!eCs 2.x
|-
|Yes
|Yes
|Yes
|Yes
|Yes
|Yes
|}
 
==SET DCF2_Pdd_Wait==
This environment variable is used by the DCF/2 disk compression
 
program.
 
  SET Dcf2_Acp_Pdd_Wait=0
 
<b>Platform Support:</b>
{| class="wikitable" style="text-align:center" border="1"
|-
!OS/2 2.x
!OS/2 3.0
!OS/2 4.0
!OS/2 4.5x
!eCS 1.x
!eCs 2.x
|-
|Yes
|Yes
|Yes
|Yes
|Yes
|Yes
|}
 
 
==SET DCF2_Vdu_G==
This environment variable is used by the DCF/2 disk compression
 
program.
 
  SET Dcf2_Vdu_G=file
 
<b>Platform Support:</b>
{| class="wikitable" style="text-align:center" border="1"
|-
!OS/2 2.x
!OS/2 3.0
!OS/2 4.0
!OS/2 4.5x
!eCS 1.x
!eCs 2.x
|-
|Yes
|Yes
|Yes
|Yes
|Yes
|Yes
|}
 
=SET 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
 
<b>Platform Support:</b>
{| class="wikitable" style="text-align:center" border="1"
|-
!OS/2 2.x
!OS/2 3.0
!OS/2 4.0
!OS/2 4.5x
!eCS 1.x
!eCs 2.x
|-
|Yes
|Yes
|Yes
|Yes
|Yes
|Yes
|}
 
 
=SET 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.
 
<b>Platform Support:</b>
{| class="wikitable" style="text-align:center" border="1"
|-
!OS/2 2.x
!OS/2 3.0
!OS/2 4.0
!OS/2 4.5x
!eCS 1.x
!eCs 2.x
|-
|Yes
|Yes
|Yes
|Yes
|Yes
|Yes
|}
 
=SET 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.
 
          o A
            Archive attribute
          o H
            Hidden attribute
          o R
            Read only attribute
          o 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.
 
        o G Directories first
        o -G Directories last
        o N Sorted by filename alphabetically
        o -N Sorted by filename in reverse alphabetical order
        o E Sorted by file extension alphabetically
        o -E Sorted by file extension in reverse alphabetical order
        o D Sorted by date from oldest to newest
        o -D Sorted by date from newest to oldest
        o S Sorted by size from smallest to biggest
        o -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
 
<b>Platform Support:</b>
{| class="wikitable" style="text-align:center" border="1"
|-
!OS/2 2.x
!OS/2 3.0
!OS/2 4.0
!OS/2 4.5x
!eCS 1.x
!eCs 2.x
|-
|Yes
|Yes
|Yes
|Yes
|Yes
|Yes
|}
 
=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.
 
<b>Platform Support:</b>
{| class="wikitable" style="text-align:center" border="1"
|-
!OS/2 2.x
!OS/2 3.0
!OS/2 4.0
!OS/2 4.5x
!eCS 1.x
!eCs 2.x
|-
|Yes
|Yes
|Yes
|Yes
|Yes
|Yes
|}
 
=SET Dlsini=
Is used by the File and Print Client.
 
  SET CodeLPath=C:\Ibmlan\Netprog\Netgui.ini
 
<b>Platform Support:</b>
{| class="wikitable" style="text-align:center" border="1"
|-
!OS/2 2.x
!OS/2 3.0
!OS/2 4.0
!OS/2 4.5x
!eCS 1.x
!eCs 2.x
|-
|Yes
|Yes
|Yes
|Yes
|Yes
|Yes
|}
 
=SET 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
 
<b>Platform Support:</b>
{| class="wikitable" style="text-align:center" border="1"
|-
!OS/2 2.x
!OS/2 3.0
!OS/2 4.0
!OS/2 4.5x
!eCS 1.x
!eCs 2.x
|-
|Yes
|Yes
|Yes
|Yes
|Yes
|Yes
|}
 
=SET 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.
 
<b>Platform Support:</b>
{| class="wikitable" style="text-align:center" border="1"
|-
!OS/2 2.x
!OS/2 3.0
!OS/2 4.0
!OS/2 4.5x
!eCS 1.x
!eCs 2.x
|-
|Yes
|Yes
|Yes
|Yes
|Yes
|Yes
|}
 
=SET 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=C:\Mmos2\dsp
 
<b>Platform Support:</b>
{| class="wikitable" style="text-align:center" border="1"
|-
!OS/2 2.x
!OS/2 3.0
!OS/2 4.0
!OS/2 4.5x
!eCS 1.x
!eCs 2.x
|-
|Yes
|Yes
|Yes
|Yes
|Yes
|Yes
|}
 
=SET Dssdir=
Is used by the Lotus Smartsuite.
 
  SET DssDir=Path
 
Parameters:
 
Path can be any full path .
 
<b>Platform Support:</b>
{| class="wikitable" style="text-align:center" border="1"
|-
!OS/2 2.x
!OS/2 3.0
!OS/2 4.0
!OS/2 4.5x
!eCS 1.x
!eCs 2.x
|-
|Yes
|Yes
|Yes
|Yes
|Yes
|Yes
|}
 
=SET DssPath=
Is used by the Lotus Smartsuite.
 
  SET DssPath=Path
 
Parameters:
 
Path can be any full path .
 
<b>Platform Support:</b>
{| class="wikitable" style="text-align:center" border="1"
|-
!OS/2 2.x
!OS/2 3.0
!OS/2 4.0
!OS/2 4.5x
!eCS 1.x
!eCs 2.x
|-
|Yes
|Yes
|Yes
|Yes
|Yes
|Yes
|}
 
=SET EDpath=
Is used by the Watcom C/C++ Compiler.
 
  SET EDPath=path
 
Parameters:
 
Path can be any full path .
 
<b>Platform Support:</b>
{| class="wikitable" style="text-align:center" border="1"
|-
!OS/2 2.x
!OS/2 3.0
!OS/2 4.0
!OS/2 4.5x
!eCS 1.x
!eCs 2.x
|-
|Yes
|Yes
|Yes
|Yes
|Yes
|Yes
|}
 
=SET ETC=
In the Etc directory stores the OS/2 internet applications their
 
configuration and log files.
 
  SET Etc=E:\MPTN\ETC
 
<b>Platform Support:</b>
{| class="wikitable" style="text-align:center" border="1"
|-
!OS/2 2.x
!OS/2 3.0
!OS/2 4.0
!OS/2 4.5x
!eCS 1.x
!eCs 2.x
|-
|Yes
|Yes
|Yes
|Yes
|Yes
|Yes
|}
 
=SET 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
 
<b>Platform Support:</b>
{| class="wikitable" style="text-align:center" border="1"
|-
!OS/2 2.x
!OS/2 3.0
!OS/2 4.0
!OS/2 4.5x
!eCS 1.x
!eCs 2.x
|-
|Yes
|Yes
|Yes
|Yes
|Yes
|Yes
|}
 
=SET EmxOpt=
Used by the EMX-compiler.
 
  SET EmxOpt=value
 
<b>Platform Support:</b>
{| class="wikitable" style="text-align:center" border="1"
|-
!OS/2 2.x
!OS/2 3.0
!OS/2 4.0
!OS/2 4.5x
!eCS 1.x
!eCs 2.x
|-
|Yes
|Yes
|Yes
|Yes
|Yes
|Yes
|}
 
=SET EndLibpath=
With this variable can you enhance the Libpath . All paths you define
 
in the Endlibpath variable are added at the end of the Libpath
 
entries. It is normally not used in the Config.sys file, it is
 
usefull at the command line and in scripts.
 
  SET EndLibpath=path1;path2
 
Parameter:
 
If you have several paths they must be delimited by a semicolon.
 
<b>Platform Support:</b>
{| class="wikitable" style="text-align:center" border="1"
|-
!OS/2 2.x
!OS/2 3.0
!OS/2 4.0
!OS/2 4.5x
!eCS 1.x
!eCs 2.x
|-
|Yes
|Yes
|Yes
|Yes
|Yes
|Yes
|}
 
=SET EpfInstDir=
This points to the directory in which the IBM installer stores
 
information about the installed programs.
 
  SET Epfinstdir=E:\OS2\Config
 
<b>Platform Support:</b>
{| class="wikitable" style="text-align:center" border="1"
|-
!OS/2 2.x
!OS/2 3.0
!OS/2 4.0
!OS/2 4.5x
!eCS 1.x
!eCs 2.x
|-
|Yes
|Yes
|Yes
|Yes
|Yes
|Yes
|}
 
 
=SET 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.
 
<b>Platform Support:</b>
{| class="wikitable" style="text-align:center" border="1"
|-
!OS/2 2.x
!OS/2 3.0
!OS/2 4.0
!OS/2 4.5x
!eCS 1.x
!eCs 2.x
|-
|Yes
|Yes
|Yes
|Yes
|Yes
|Yes
|}
 
=SET 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
 
<b>Platform Support:</b>
{| class="wikitable" style="text-align:center" border="1"
|-
!OS/2 2.x
!OS/2 3.0
!OS/2 4.0
!OS/2 4.5x
!eCS 1.x
!eCs 2.x
|-
|Yes
|Yes
|Yes
|Yes
|Yes
|Yes
|}
 
=SET GccOpt=
 
Defines default options for the GCC/EMX compiler.
 
  SET GccOpt=Options
 
<b>Platform Support:</b>
{| class="wikitable" style="text-align:center" border="1"
|-
!OS/2 2.x
!OS/2 3.0
!OS/2 4.0
!OS/2 4.5x
!eCS 1.x
!eCs 2.x
|-
|Yes
|Yes
|Yes
|Yes
|Yes
|Yes
|}
 
=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
 
<b>Platform Support:</b>
{| class="wikitable" style="text-align:center" border="1"
|-
!OS/2 2.x
!OS/2 3.0
!OS/2 4.0
!OS/2 4.5x
!eCS 1.x
!eCs 2.x
|-
|Yes
|Yes
|Yes
|Yes
|Yes
|Yes
|}
 
=SET GpfRexx=
Points to the directory where GPFRexx is installed.
 
  SET Gpfrexx=C:\User\Rexx\Gpfrexx
 
<b>Platform Support:</b>
{| class="wikitable" style="text-align:center" border="1"
|-
!OS/2 2.x
!OS/2 3.0
!OS/2 4.0
!OS/2 4.5x
!eCS 1.x
!eCs 2.x
|-
|Yes
|Yes
|Yes
|Yes
|Yes
|Yes
|}
 
=SET GpfRexxBitmap=
Points to the directory where GPFRexx stores the bitmap files.
 
  SET Gpfrexx=C:\User\Rexx\Gpfrexx\Bitmap
 
<b>Platform Support:</b>
{| class="wikitable" style="text-align:center" border="1"
|-
!OS/2 2.x
!OS/2 3.0
!OS/2 4.0
!OS/2 4.5x
!eCS 1.x
!eCs 2.x
|-
|Yes
|Yes
|Yes
|Yes
|Yes
|Yes
|}
 
=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
 
<b>Platform Support:</b>
{| class="wikitable" style="text-align:center" border="1"
|-
!OS/2 2.x
!OS/2 3.0
!OS/2 4.0
!OS/2 4.5x
!eCS 1.x
!eCs 2.x
|-
|Yes
|Yes
|Yes
|Yes
|Yes
|Yes
|}
 
=SET Grad_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 resent fixpack
 
level.
 
  SET Grad_Chains=C1
 
<b>Platform Support:</b>
{| class="wikitable" style="text-align:center" border="1"
|-
!OS/2 2.x
!OS/2 3.0
!OS/2 4.0
!OS/2 4.5x
!eCS 1.x
!eCs 2.x
|-
|Yes
|Yes
|Yes
|Yes
|Yes
|Yes
|}
 
=SET Greext=
Is used by the Scitech Software Display Doctor for OS/2.
 
  SET Greext=SDDGrext
 
<b>Platform Support:</b>
{| class="wikitable" style="text-align:center" border="1"
|-
!OS/2 2.x
!OS/2 3.0
!OS/2 4.0
!OS/2 4.5x
!eCS 1.x
!eCs 2.x
|-
|Yes
|Yes
|Yes
|Yes
|Yes
|Yes
|}
 
=SET GU=
 
The GU variable sets up the path where the Graham Utilities are
 
installed.
 
  SET GU=C:\user\GU20
 
<b>Platform Support:</b>
{| class="wikitable" style="text-align:center" border="1"
|-
!OS/2 2.x
!OS/2 3.0
!OS/2 4.0
!OS/2 4.5x
!eCS 1.x
!eCs 2.x
|-
|Yes
|Yes
|Yes
|Yes
|Yes
|Yes
|}

Latest revision as of 00:59, 23 February 2020

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

Environment variables are stored by OS/2 in memory and can be called by any program. They are used by many programs to store information (for example, the install path) or some configuration information. If you want to see a list of all installed environment variables and their values, type "Set" in an OS/2 window. If the list is too long, you can redirect the screen output to a file, simply type this:

SET >output.txt

General Tips

Note that SET commands in CONFIG.SYS behave differently than when entered on the command line.

So, when you issue the following commands in a OS/2 session:

SET TEMP=C:\TMP
SET TMP=%TEMP%

you get:

TEMP=C:\TMP
TMP=C:\TMP

But, if you add the same lines to CONFIG.SYS:

SET TEMP=C:\TMP 
SET TMP=%TEMP%

you get:

TEMP=C:\TMP
TMP=%TEMP%

but not TMP=C:\TMP. The environment variable TMP now has the value composed by the letters "%", "T", "E", "M", "P", "%". For that reason, in CONFIG.SYS, you must write the values explicitly as follows:

SET TEMP=C:\TMP
SET TMP=C:\TMP

This is because variables are not expanded during CONFIG.SYS processing, but they are when run from a shell (command line).

Base Operating System

PM

Help Manager

Workplace Shell

WarpCenter

Multimedia

Installation

Layered Products

Programming Environments

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

Networking

LAPS
LAN Services
TCP/IP
MFS
Global Security Runtime
  • NETVIEW_PATH - Defines the path where the SystemView client is installed.
  • SRVNAME1 - Used for remote installations of OS/2.
  • TEMP - Define a directory were OS/2 and programs can store temporarily files.
  • TMP - Define a directory were OS/2 and programs can store temporarily files.


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