technote:command_line_diagnosis
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| technote:command_line_diagnosis [2025/07/04 03:36] – [Locate Batch File Via Windows Scheduler] Scott Cunliffe | technote:command_line_diagnosis [2025/07/04 04:27] (current) – [Forwarding The Stdout And Stderr Files] Scott Cunliffe | ||
|---|---|---|---|
| Line 57: | Line 57: | ||
| The file may contain different variables at the top, setting various actions for the creation of the report or task. Following this will be a line of code calling the command line program with various attributes followed by the redirections of the stdout and stderr streams. | The file may contain different variables at the top, setting various actions for the creation of the report or task. Following this will be a line of code calling the command line program with various attributes followed by the redirections of the stdout and stderr streams. | ||
| - | ``` | + | < |
| - | TMSS10Inventory -S user: | + | TMSS10Inventory -S user: |
| - | ``` | + | </ |
| + | The redirect ''>'' | ||
| + | |||
| + | The redirect '' | ||
| + | |||
| + | If the file location uses variables in the path, you will need to find the value of the variable to decode the path. | ||
| + | |||
| + | Standard variables set by TapeTrack upon installation include | ||
| + | |||
| + | < | ||
| + | TMSS10BACK=C: | ||
| + | TMSS10DB=C: | ||
| + | TMSS10REPORTS=C: | ||
| + | TMSS10SCRIPTS=C: | ||
| + | TMSS10SYNCBASE=C: | ||
| + | </ | ||
| + | |||
| + | For example | ||
| + | |||
| + | < | ||
| + | TMSS10MoveList -S %TTSERVER% > " | ||
| + | </ | ||
| + | |||
| + | The stderr stream is directed to '' | ||
| + | ==== Forwarding The Stdout And Stderr Files ==== | ||
| + | |||
| + | Using a file zipping program, such as winzip or 7zip, zip up the files (batch file, stdout and stderr files) and attach the file to the [[common: | ||
| + | |||
| + | {{tag> | ||
technote/command_line_diagnosis.1751600219.txt.gz · Last modified: 2025/07/04 03:36 by Scott Cunliffe
