Overview
This section provides you the overview on environment variables configuration.
Windows
Variables can be configured in the system environment for all users, and/or on a per user basis via the user environment. Additional variables for jBASE can also be added to the current user configuration registry. You can execute the following command.
set variable=value
echo %variable%
Win9x variables are usually configured in the AutoExec.bat. The environment area does not become overwritten on Win9x as it is initially quite small, approximately 512 bytes. Subsequent .bat commands should increase the required environment space. Setting it in the config.sys file can explicitly increase the environment space:
shell=c:\command.com /e:2048 /p
Unix
Variables are usually configured in the .profile of the user login directory although global variables can be added to the /etc/- profile script. You can execute the following command.
variable=value export variable
echo $variable
This works for all shells, although one can execute export variable=value in ksh, etc.
In this topic