TapeTrack Documentation

Because there is more to tape management than you ever realized

User Tools

Site Tools


technote:setting_environmental_variables

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
technote:setting_environmental_variables [2018/06/29 21:01] – [TapeTrack Config File] Gerard Nicoltechnote:setting_environmental_variables [2025/01/21 22:07] (current) – external edit 127.0.0.1
Line 1: Line 1:
 ====== Setting Environmental Variables ====== ====== Setting Environmental Variables ======
  
-The default behaviour of TapeTrack programs can be changed by setting environmental variables.+The default behavior of TapeTrack programs can be changed by setting [[variable:start|Environmental Variable]].
  
-These variables can be set using the following methods.+These [[variable:start|Environmental Variable]] can be set using the following methods.
  
 ===== Windows Command Line ===== ===== Windows Command Line =====
  
-<sxh plain;>+<code text;>
 set VARIABLE=VALUE set VARIABLE=VALUE
-</sxh>+</code> 
 + 
 +Where ''VARIABLE'' is the [[variable:start|Environmental Variable]] name, and ''VALUE'' is the [[variable:start|Environmental Variable]] value. 
 + 
 +===== Windows PowerShell ===== 
 + 
 +To set an [[variable:start|Environmental Variable]] in ''Windows PowerShell'', use the ''$env:'' command. 
 + 
 +<code> 
 +$env:TMSSREPORTFORMAT = "CSV" 
 +</code> 
 + 
 +Where ''TMSSREPORTFORMAT'' is the [[variable:start|Environmental Variable]] name, and ''CSV'' is the [[variable:start|Environmental Variable]] value. 
 +<note important> 
 +Using a Windows PowerShell variable $TMSSREPORTFORMAT = "CSV" will not be interpreted as a Windows variable and, as such,  will not be applied to the executable or output.</note> 
  
-Where VARIABLE is the variable name, and VALUE is the variable value. 
 ===== Linux Shell ===== ===== Linux Shell =====
  
-To set an environmental variable in the Linux operating system, use the ''export'' command.+To set an [[variable:start|Environmental Variable]] in the Linux operating system, use the ''export'' command.
  
-<sxh plain;>+<code plain;>
 export VARIABLE=VALUE export VARIABLE=VALUE
-</sxh>+</code>
  
-Where VARIABLE is the variable name, and VALUE is the variable value.+Where VARIABLE is the [[variable:start|Environmental Variable]] name, and VALUE is the [[variable:start|Environmental Variable]] value. 
 + 
 +You can also prepend the [[variable:start|Environmental Variable]] to the command. 
 + 
 +<code plain;> 
 +TMSSREPORTFORMAT=CSV TMSS10Inventory 
 +</code>
 ===== TapeTrack Config File ===== ===== TapeTrack Config File =====
  
-The TapeTrack Config File that is loaded when each Desktop and Command Line Program is initiated can also be used to set enviromnental variables.+The TapeTrack Config File that is loaded when each [[:start#tapetrack-desktop-software|Desktop]] and [[cli:introduction|Command Line Program]] is initiated, it can also be used to set [[variable:start|Environmental Variable]].
  
-<sxh plain;>+<code plain;>
    variables = {    variables = {
        TMSSLEVELNAMES = "A,B,C";        TMSSLEVELNAMES = "A,B,C";
Line 31: Line 51:
    };    };
  
-</sxh>+</code> 
 + 
 +{{tag>technote environmental_variables setting variables config tapemaster lite checkpoint linux}}
technote/setting_environmental_variables.1530306118.txt.gz · Last modified: 2025/01/21 22:07 (external edit)