Author Topic: Open AutoCAD from batch file  (Read 1158 times)

0 Members and 1 Guest are viewing this topic.

dudi_dk

  • Guest
Open AutoCAD from batch file
« 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

Crank

  • Water Moccasin
  • Posts: 1503
Re: Open AutoCAD from batch file
« Reply #1 on: July 06, 2016, 12:47:05 PM »
If you want speed, then don't use acad.exe. Consider using the Core Console.
« Last Edit: July 06, 2016, 12:51:05 PM by Crank »
Vault Professional 2023     +     AEC Collection