Doug Bilton
Member
We are using Version 8.1.73.0 and have been able to create batch files to spool our jobs. We have a .bat file which looks like:
"\\THOR\PrintNet T Designer\PNetTCNetClient.exe" -s 10.0.0.11 -multiple text\32634.txt - abortonfirsterror
Pause
The actual text files contain single lines (3 of which are below).
Each command, when run, correctly builds the components and the output file shows what happened. The issue is, that if we have 10 files, the first 9 output files all contain only their own output, but the last one, contains the first 9 files worth of output, along with it's output. Anyone know why, or how we can have each file contain just the output from it's own build?
There is a side question of trying to get these output files to only show errors or warnings, and not all the normal stuff. We are thinking we might have to write some dos scripts to run so we can just see the files that have errors.
Here are the lines that are in the text file we are using to spool the job:
"\\THOR\PRODUCTION\_workflows\32634\32634.wfd" -dc Production -o "Label" -f "\\MAIN2\OUTPUT\32634\1_PROD\Label\%n_%m_%03h[3].%e" -useincluded Font "-difProduction Data" \\THOR\PRODUCTION\_Data\32634\32634-1_PROD.DBF -c \\THOR\PRODUCTION\WFE\Jobs\local.job -pug1 false -l "\\MAIN2\OUTPUT\32634\output\32634_1_PROD_out_Label.txt"
"\\THOR\PRODUCTION\_workflows\32634\32634.wfd" -dc Production -o "Letter" -f "\\MAIN2\OUTPUT\32634\1_PROD\Letter\%n_%m_%03h[3].%e" -useincluded Font "-difProduction Data" \\THOR\PRODUCTION\_Data\32634\32634-1_PROD.DBF -c \\THOR\PRODUCTION\WFE\Jobs\local.job -pug1 false -l "\\MAIN2\OUTPUT\32634\output\32634_1_PROD_out_Letter.txt"
"\\THOR\PRODUCTION\_workflows\32634\32634.wfd" -dc Production -o "RAE" -f "\\MAIN2\OUTPUT\32634\1_PROD\RAE\%n_%m_%03h[3].%e" -useincluded Font "-difProduction Data" \\THOR\PRODUCTION\_Data\32634\32634-1_PROD.DBF -c \\THOR\PRODUCTION\WFE\Jobs\local.job -pug1 false -l "\\MAIN2\OUTPUT\32634\output\32634_1_PROD_out_RAE.txt"
Thanks for your help.
doug
"\\THOR\PrintNet T Designer\PNetTCNetClient.exe" -s 10.0.0.11 -multiple text\32634.txt - abortonfirsterror
Pause
The actual text files contain single lines (3 of which are below).
Each command, when run, correctly builds the components and the output file shows what happened. The issue is, that if we have 10 files, the first 9 output files all contain only their own output, but the last one, contains the first 9 files worth of output, along with it's output. Anyone know why, or how we can have each file contain just the output from it's own build?
There is a side question of trying to get these output files to only show errors or warnings, and not all the normal stuff. We are thinking we might have to write some dos scripts to run so we can just see the files that have errors.
Here are the lines that are in the text file we are using to spool the job:
"\\THOR\PRODUCTION\_workflows\32634\32634.wfd" -dc Production -o "Label" -f "\\MAIN2\OUTPUT\32634\1_PROD\Label\%n_%m_%03h[3].%e" -useincluded Font "-difProduction Data" \\THOR\PRODUCTION\_Data\32634\32634-1_PROD.DBF -c \\THOR\PRODUCTION\WFE\Jobs\local.job -pug1 false -l "\\MAIN2\OUTPUT\32634\output\32634_1_PROD_out_Label.txt"
"\\THOR\PRODUCTION\_workflows\32634\32634.wfd" -dc Production -o "Letter" -f "\\MAIN2\OUTPUT\32634\1_PROD\Letter\%n_%m_%03h[3].%e" -useincluded Font "-difProduction Data" \\THOR\PRODUCTION\_Data\32634\32634-1_PROD.DBF -c \\THOR\PRODUCTION\WFE\Jobs\local.job -pug1 false -l "\\MAIN2\OUTPUT\32634\output\32634_1_PROD_out_Letter.txt"
"\\THOR\PRODUCTION\_workflows\32634\32634.wfd" -dc Production -o "RAE" -f "\\MAIN2\OUTPUT\32634\1_PROD\RAE\%n_%m_%03h[3].%e" -useincluded Font "-difProduction Data" \\THOR\PRODUCTION\_Data\32634\32634-1_PROD.DBF -c \\THOR\PRODUCTION\WFE\Jobs\local.job -pug1 false -l "\\MAIN2\OUTPUT\32634\output\32634_1_PROD_out_RAE.txt"
Thanks for your help.
doug