TapeTrack Documentation

Because there is more to tape management than you ever realized

User Tools

Site Tools


technote:command_line_diagnosis

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:command_line_diagnosis [2025/07/04 04:13] – [Locate Stdout And Stderr] Scott Cunliffetechnote:command_line_diagnosis [2025/07/04 04:27] (current) – [Forwarding The Stdout And Stderr Files] Scott Cunliffe
Line 65: Line 65:
 The redirect ''2>'' redirects the stderr stream, called Inventory_Report_stderr.txt to the reports folder in the current directory. The redirect ''2>'' redirects the stderr stream, called Inventory_Report_stderr.txt to the reports folder in the current directory.
  
 +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
 +
 +<code>
 +TMSS10BACK=C:\Program Files\TapeTrack\TapeTrack Framework Server\var\backup
 +TMSS10DB=C:\Program Files\TapeTrack\TapeTrack Framework Server\var\db
 +TMSS10REPORTS=C:\Program Files\TapeTrack\TapeTrack Framework Server\var\reports
 +TMSS10SCRIPTS=C:\Program Files\TapeTrack\TapeTrack Framework Server\scripts
 +TMSS10SYNCBASE=C:\Program Files\TapeTrack\TapeTrack Sync\
 +</code>
 +
 +For example
 +
 +<code>
 +TMSS10MoveList -S %TTSERVER% > "%TMSS10REPORTS%\movelist_report.txt" 2> "%TMSS10REPORTS%\movelist_error.txt" 
 +</code>
 +
 +The stderr stream is directed to ''C:\Program Files\TapeTrack\TapeTrack Framework Server\var\reports\movelist_error.txt''
 +==== 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:support_details|support ticket]] along with the best description of the problem you are experiencing.
 +
 +{{tag>technote cli}}
technote/command_line_diagnosis.1751602412.txt.gz · Last modified: 2025/07/04 04:13 by Scott Cunliffe