technote:setting_environmental_variables
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| technote:setting_environmental_variables [2019/03/28 00:45] – [TapeTrack Config File] Scott Cunliffe | technote: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 | + | The default |
| - | These variables | + | These [[variable: |
| ===== Windows Command Line ===== | ===== Windows Command Line ===== | ||
| - | <sxh plain;> | + | <code text;> |
| set VARIABLE=VALUE | set VARIABLE=VALUE | ||
| - | </sxh> | + | </code> |
| + | |||
| + | Where '' | ||
| + | |||
| + | ===== Windows PowerShell ===== | ||
| + | |||
| + | To set an [[variable: | ||
| + | |||
| + | < | ||
| + | $env: | ||
| + | </ | ||
| + | |||
| + | Where '' | ||
| + | <note important> | ||
| + | Using a Windows PowerShell variable $TMSSREPORTFORMAT = " | ||
| - | Where VARIABLE is the variable name, and VALUE is the variable value. | ||
| ===== Linux Shell ===== | ===== Linux Shell ===== | ||
| - | To set an environmental | + | To set an [[variable: |
| - | <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: |
| - | You can also prepend the variable to the command. | + | You can also prepend the [[variable: |
| - | <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 [[: | + | The TapeTrack Config File that is loaded when each [[: |
| - | <sxh plain;> | + | <code plain;> |
| | | ||
| | | ||
| Line 37: | Line 51: | ||
| }; | }; | ||
| - | </sxh> | + | </code> |
| + | |||
| + | {{tag> | ||
technote/setting_environmental_variables.1553733944.txt.gz · Last modified: 2025/01/21 22:07 (external edit)
