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 [2018/06/29 20:51] – [Linux Shell] Gerard Nicol | 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 ===== | ||
- | <sxh plain;> | + | To set an [[variable: |
+ | |||
+ | <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: | ||
+ | |||
+ | <code plain;> | ||
+ | TMSSREPORTFORMAT=CSV TMSS10Inventory | ||
+ | </ | ||
===== TapeTrack Config File ===== | ===== TapeTrack Config File ===== | ||
+ | The TapeTrack Config File that is loaded when each [[: | ||
+ | |||
+ | <code plain;> | ||
+ | | ||
+ | | ||
+ | | ||
+ | }; | ||
+ | |||
+ | </ | ||
+ | |||
+ | {{tag> |
technote/setting_environmental_variables.1530305506.txt.gz · Last modified: 2025/01/21 22:07 (external edit)