db2envar.bat - Set environment of the current command window command
Sets the environment of your current command window for the Db2® copy that db2envar.bat is executed from. This is useful if you want to switch between different Db2 copies from the command line.
This command is only available on Windows operating systems.
Authorization
None
Required Connection
None
Command Syntax
Command parameters
None
Usage notes
When there are multiple Db2 copies on a machine, the full path should be used to indicate which db2envar.bat is to be executed. For example, if you want to set up the environment for the Db2 copy that is installed under e:\sqllib, you should issuee:\sqllib\bin\db2envar.bat.