# TOMVIEW  
# REGISTER (TOMVIEW)
# LOGIN  
# myTOMVIEW
TOMLAB LOGO

« Previous « Start » Next »

6  Setting up environment variables

TOMVIEW requires the directory C:\TOMVIEW\dll to be in the library search path (assuming TOMVIEW was installed in C:\TOMVIEW).

TOMVIEW also requires that the environment variable TOMVIEW_LICENSE_FILE has the value C:\TOMVIEW\tomview.lic (assuming TOMVIEW was installed in C:\TOMVIEW).

The TOMVIEW installer will try do set these variables automatically, the installer will also try to prompt a warning if it fails to set these variables. When there is reason to believe that this step has failed it is possible to set these variables manually:

6.1  Setting up the PATH

To set the PATH environment variable permanently on Windows, select: Control Panel → System → Advanced → Environment Variables. Assuming TOMVIEW was installed in C:\TOMVIEW, append (or prepend) C:\TOMVIEW\dll separated to the other entries with a semi-colon (;) to the PATH environment variable.

One can also set the PATH environment variable temporarily in a running command shell. This is done by doing
  C:\> set PATH=%PATH%;C:\TOMVIEW\dll
This change will only be applied in that command shell, and will therefore be discarded when the command shell is terminated.

6.2  Setting up the TOMVIEW_LICENSE_FILE

To set the TOMVIEW_LICENSE_FILE environment variable permanently on Windows, select: Control Panel → System → Advanced → Environment Variables. Click the New button under User variables and enter:
Variable Name: TOMVIEW_LICENSE_FILE
Variable Value: C:\TOMVIEW\tomview.lic
(assuming TOMVIEW was installed in C:\TOMVIEW).

One can also set the TOMVIEW_LICENSE_FILE environment variable temporarily in a running command shell. This is done by doing
  C:\> set PATH=%PATH%;C:\TOMVIEW\dll
This change will only be applied in that command shell, and will therefore be discarded when the command shell is terminated.

6.3  Controlling the environment variables

Open a new command shell (Start → Run, then type cmd) and type:
  C:\> path
C:\TOMVIEW\dll should be found in the beginning or the end of the output.

The command
  C:\> echo %TOMVIEW_LICENSE_FILE%
should return C:\TOMVIEW\tomview.lic and not %TOMVIEW_LICENSE_FILE%.

« Previous « Start » Next »