PDA

View Full Version : Batch Project Summary Export



gsw1000
October 8th, 2009, 02:33 PM
I am using monarch 10 trying to export a fixed width text file. When doing a project summary export from a batch file, is there a way to get it to only write out the Export file name that was specified in the command line parameter and not the one in the project file? It is exporting that one as well as the file name that was specified in the project file.

"C:\Program Files\Monarch\Program\monarch.exe" /rpt:"C:\monarch\Receive\CM425084.Dat" /mod:"C:\monarch\MonarchModels\CM425.xmod" prj:"C:\monarch\MonarchModels\CM425.xprj" /S /exp:"C:\monarch\Load\CM425084.Dat.txt" /expfileopt:"overwrite" /px:"CM-425_Summary" /exptable:"AssessedAmounts"

Data Kruncher
October 8th, 2009, 02:59 PM
Welcome to the forum, gsw1000.

Drop the /px:"CM-425_Summary" and you should be alright.

HTH,
Kruncher

gsw1000
October 8th, 2009, 03:48 PM
Thanks! That worked.

Data Kruncher
October 8th, 2009, 04:18 PM
Excellent, thanks for the update.

For developing powerful Monarch batch files easily, you might be interested in this Monarch Batch File Generator (http://excelwithmonarch.com/tips/monarch-batch-file-generator).

Also, keep an eye out for the topic of batch files and other forms of automation in the current 30 Days to Become a Better Monarch Modeler (http://excelwithmonarch.com/tips/30-days-to-become-a-better-monarch-modeler) series which recently began on the same site.

An inside source tells me that it's on the agenda. ;)

Kruncher

Nick Osdale-Popa
October 8th, 2009, 04:43 PM
An inside source tells me that it's on the agenda. ;)

Kruncher

Don't listen to those little voices in your head. :D

Data Kruncher
October 8th, 2009, 05:02 PM
:D:D:D

Odd, it's only been since someone's recommended reading (http://www.amazon.com/Multiplicity-Science-Personality-Identity-Self/dp/031611538X) that we've been having this problem... :rolleyes: