hexagon logo

Batch File Command to automate the compile process for aADAMS User Subroutine.

Hello ADAMS Users,
I would like to automate the process of compiling my user subroutine, perhaps using a Windows prompt batch file.
 
Currently, the manual process would be to type in the following into the windows command prompt with a carriage return after each line.
   ADAMS20XX cr-u
   n
   first.c
   second.c
   third.c
 
   myFunc.dll
 
I would guess that the following batch command should work, however, it fails because ADAMS requires a carriage return after the list of source code files (*.c).
 
ADAMS20XX cr-u n first.c second.c third.c myFunc.dll
 
Thank you in advance for any tips and suggestions,
Wes
Parents Reply Children
No Data