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 [2020/10/28 03:05] – [TapeTrack Config File] Scott Cunliffetechnote:setting_environmental_variables [2025/01/21 22:07] (current) – external edit 127.0.0.1
Line 7: Line 7:
 ===== Windows Command Line ===== ===== Windows Command Line =====
  
-<sxh text;>+<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.+Where ''VARIABLE'' is the [[variable:start|Environmental Variable]] name, and ''VALUE'' is the [[variable:start|Environmental Variable]] value.
  
 ===== Windows PowerShell ===== ===== Windows PowerShell =====
  
-To set an [[variable:start|Environmental Variable]] in Windows PowerShell, use the $env: command.+To set an [[variable:start|Environmental Variable]] in ''Windows PowerShell'', use the ''$env:'' command.
  
-<sxh>+<code>
 $env:TMSSREPORTFORMAT = "CSV" $env:TMSSREPORTFORMAT = "CSV"
-</sxh>+</code>
  
-Where TMSSREPORTFORMAT is the [[variable:start|Environmental Variable]] name, and CSV is the [[variable:start|Environmental Variable]] value.+Where ''TMSSREPORTFORMAT'' is the [[variable:start|Environmental Variable]] name, and ''CSV'' is the [[variable:start|Environmental Variable]] value.
 <note important> <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> 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>
Line 30: Line 30:
 To set an [[variable:start|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:start|Environmental Variable]] name, and VALUE is the [[variable:start|Environmental Variable]] value. Where VARIABLE is the [[variable:start|Environmental Variable]] name, and VALUE is the [[variable:start|Environmental Variable]] value.
Line 38: Line 38:
 You can also prepend the [[variable:start|Environmental Variable]] to the command. You can also prepend the [[variable:start|Environmental Variable]] to the command.
  
-<sxh plain;>+<code plain;>
 TMSSREPORTFORMAT=CSV TMSS10Inventory TMSSREPORTFORMAT=CSV TMSS10Inventory
-</sxh>+</code>
 ===== TapeTrack Config File ===== ===== TapeTrack Config File =====
  
 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]]. 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 51: Line 51:
    };    };
  
-</sxh>+</code>
  
-{{tag>technote variables config tapemaster lite checkpoint}}+{{tag>technote environmental_variables setting variables config tapemaster lite checkpoint linux}}
technote/setting_environmental_variables.1603854344.txt.gz · Last modified: 2025/01/21 22:07 (external edit)