Q100016: How to check if a Nuke environment variable exists
SUMMARY
The following article discusses how to check to see if a Nuke environment variable exists.
MORE INFORMATION
On Windows
1) Select Start > All Programs > Accessories > Command Prompt. 2) In the command window that opens, enter echo %VARIABLE%. Replace VARIABLE with the name of the environment variable. For example, to check if NUKE_DISK_CACHE is set, enter echo %NUKE_DISK_CACHE%.
If the variable is set, its value is displayed in the command window.
On Mac or Linux
1) Launch Terminal or a shell. 2) Enter echo $VARIABLE. Replace VARIABLE with the name of the environment variable. For example, to check if NUKE_DISK_CACHE is set, enter echo $NUKE_DISK_CACHE.
If the variable is set, its value is displayed in the Terminal or shell window.
SUMMARY
The following article discusses how to check to see if a Nuke environment variable exists.MORE INFORMATION
On Windows
1) Select Start > All Programs > Accessories > Command Prompt.2) In the command window that opens, enter echo %VARIABLE%. Replace VARIABLE with the name of the environment variable. For example, to check if NUKE_DISK_CACHE is set, enter echo %NUKE_DISK_CACHE%.
If the variable is set, its value is displayed in the command window.
On Mac or Linux
1) Launch Terminal or a shell.2) Enter echo $VARIABLE. Replace VARIABLE with the name of the environment variable. For example, to check if NUKE_DISK_CACHE is set, enter echo $NUKE_DISK_CACHE.
If the variable is set, its value is displayed in the Terminal or shell window.
Keywords: Nuke, environment variables