Set option variable (SET)
The function allows setting or displaying a value for an option or environment variable. Not passing any parameter will display all variables set. Option variables are not case sensitive.
Parameters:
- var_name - Name for the option variable (may be referenced as %var_name%)
- value - value to be set for the variable
Syntax:
set var_name [[=]value]
Examples:
set NAME='Smith'; // Setting value for NAME to 'Smith'
set NAME // display current settings for NAME
set NAME= // reset current settings for NAME
set // display current settings for all variables