technote:batch_file
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
technote:batch_file [2022/06/06 02:51] – [Scheduling A Batch File Execution] Scott Cunliffe | technote:batch_file [2025/01/21 22:07] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 12: | Line 12: | ||
To edit a batch file, right click the file and select '' | To edit a batch file, right click the file and select '' | ||
+ | |||
+ | Commands within the batch file can include setting current working directory, variables to set report parameters, program execution and output directories and format. | ||
+ | |||
+ | Example batch file to produce an inventory in PDF format for Customer 1002, using variables to set PDF orientation, | ||
+ | |||
+ | File: run_US02_Inventory_PDF.bat | ||
+ | |||
+ | < | ||
+ | cd C: | ||
+ | |||
+ | set TMSSREPORTFORMAT=PDF | ||
+ | set TMSSPDFORIENTATION=landscape | ||
+ | set TMSS10PDFOUTPUTPATH=C: | ||
+ | set TMSSPDFLOGOPATH=./ | ||
+ | set TMSSREPORTCOLUMNDELETE=1, | ||
+ | |||
+ | TMSS10Inventory -S batch@localhost 2> stderr_inventory.txt | ||
+ | |||
+ | </ | ||
===== Executing A Batch File ===== | ===== Executing A Batch File ===== | ||
technote/batch_file.1654483888.txt.gz · Last modified: 2025/01/21 22:07 (external edit)