How to Load and unload model via command line
Steps:
Open CMD and point to the Corporate Modeler BIN directory
C:\Program Files (x86)\Casewise\CM10\bin
Then add the following command: (note do not copy and paste)
Unload a Specific model:
Load.exe -Unload -connection:Stand-Alone -username:ADMIN -password:”mypassword” -DB:CWFREX09 -To:C:\Model\CWFREX09.mdb –ReplaceTarget
Unload ALL models from DB:
Load.exe -Unload -connection:Stand-Alone -username:ADMIN -password:”mypassword” -all
-To:C:\Model -ReplaceTarget
To Load 1 specific model:
Load.exe -load -connection:Stand-Alone -username:ADMIN -password:”mypassword” -DB:CWFREX09 -From:C:\Model\CWFREX09.mdb –ReplaceTarget
To Load the Control Admin DB:
Load.exe -load -connection:Stand-Alone -username:ADMIN -password:”mypassword” -DB:CWADMN09 -From:C:\Model\CWADMN09.mdb –ReplaceTarget
Command Descriptions:
-connection:Stand-Alone : the name of you connection as you see in the logon screen.
-username:ADMIN : a Corporate Modeler system manager user
-password:”mypassword”: the password of the Corporate Modeler SM user.
-DB:CWFREX09 : the file name of the Model you are unloading/loading ( Control database is always CWADMN09)
-From:C:\Model\CWFREX09.mdb: the path of the MDB file you want to save or copy the file from.
–ReplaceTarget: always use this as it will replace what is in the repository.
Email: casewisesupport@erwin.com Web: www.erwin.com
Comments
0 comments
Please sign in to leave a comment.