TheSwamp

Code Red => AutoLISP (Vanilla / Visual) => Topic started by: dudi_dk on June 29, 2016, 06:22:33 AM

Title: Open AutoCAD from batch file
Post by: dudi_dk on June 29, 2016, 06:22:33 AM
Hello,
I need to start AutoCAD from a Batch file.
I need to be able to start few AutoCAD sessions from a batch file.
I need to be able to add a "/b" (For running a script on the opened file) to the AutoCAD "Calling" in the batch file.

If I use …
START "C:\Program Files\Autodesk\AutoCAD 2015\acad.exe" "C:\Users\dudik\Desktop\111.dwg" "/nologo"
Then the AutoCAD does not read the /nologo

If I use …
"C:\Program Files\Autodesk\AutoCAD 2015\acad.exe" "C:\Users\dudik\Desktop\111.dwg" "/nologo"
Then I can not add another session of AutoCAD (in order to have two AutoCAD sessions open)


Thanks in advance,
David
Title: Re: Open AutoCAD from batch file
Post by: Crank on July 06, 2016, 12:47:05 PM
If you want speed, then don't use acad.exe. Consider using the Core Console (http://through-the-interface.typepad.com/through_the_interface/2012/02/the-autocad-2013-core-console.html).