CMD script macOS problem
Posted: Tue Apr 09, 2024 11:07 am
I can't get a command script to work on macOS 14.4.1 with VensimDSS 10.1.2.
[code]
SPECIAL>NOINTERACTION
#SPECIAL>LOADMODEL|model.mdl
MENU>VDF2XLSX|BAU.vdfx|BAU.xlsx|SaveListForGraphs.lst
MENU>EXIT
[/code]
The command script, the MDL, LST, and VDFX are all in the same directory. I've made sure there aren't spaces and tried different locations on my disk. You can see I've tried with and without LOADMODEL (since I don't need to run a model -- just trying to automate data export).
I get no feedback. Vensim opens and nothing happens. No files are created in the folder with CMD script.
I'm calling it from Terminal (and my code editor app, but I've tried both) with
[code]
open -a /Applications/VensimDSS.app Export-XLS.cmd
[/code]
(NOTE: The path to VensimDSS on the Vensim documentation website (https://vensim.com/documentation/25670.html) needs to be updated since Vensim isn't installed in a Vensim folder any more.)
[code]
SPECIAL>NOINTERACTION
#SPECIAL>LOADMODEL|model.mdl
MENU>VDF2XLSX|BAU.vdfx|BAU.xlsx|SaveListForGraphs.lst
MENU>EXIT
[/code]
The command script, the MDL, LST, and VDFX are all in the same directory. I've made sure there aren't spaces and tried different locations on my disk. You can see I've tried with and without LOADMODEL (since I don't need to run a model -- just trying to automate data export).
I get no feedback. Vensim opens and nothing happens. No files are created in the folder with CMD script.
I'm calling it from Terminal (and my code editor app, but I've tried both) with
[code]
open -a /Applications/VensimDSS.app Export-XLS.cmd
[/code]
(NOTE: The path to VensimDSS on the Vensim documentation website (https://vensim.com/documentation/25670.html) needs to be updated since Vensim isn't installed in a Vensim folder any more.)