Batch file


I am trying to use a batch file to run the AnyBody for an inverse dynamic analysis. However, it stops after running AnyBodycon.exe. I have to input the load, operation, and run commands manually. I wonder is there anyway I can use a batch file to run the analysis completely? Thanks in advance for your answer and help. The batch file I use is:

cd c:\Program Files\AnyBody Technology\AnyBody.4.0\AnyBodyCon.exe /d d:\AnyBody\ARep\Aalborg\FOLDERNAME
load “Model.main.any”
operation Main.Study.InverseDynamics


Hi Mark

I am not sure exactly what you mean by stop, could it be that you are just missing the “exit” command ?

There is a tutorial on how to use the command line application please see:

Best regards

Hi Søren,

Thanks for your reply. The problem is solved by storing those commands in a .anymcr file.