CAD Forum - tips, tricks, discussion and utilities for AutoCAD, Inventor, Revit and other Autodesk products []
Cesky English Deutsch
 Visitors: 4399 

CAD tip CAD tip # 5091:

Question CAD 
 %  platform  category 
Q - question

How to run an external EXE program from AutoCAD?

A - answer There are several methods how to launch an external .EXE application from the AutoCAD environment.

The easiest way (similarly also in AutoCAD LT) is the function (startapp) - you can e.g. run NotePad by entering (startapp "notepad.exe").

Another method are the commands SH, SHELL and START, which can be used to invoke and external OS command or program.

Another often used method is adding the requested .EXE application to the ACAD.PGP file - creating an command (program) alias. See the PBRUSH command alias definiton as a sample.

AutoCAD offers many other ways to start a program - e.g. the Shell function in VBA, ARX programming environment, MTEXTED setting, etc.

100% *  CAD 
22.6.2006    20213×  
Comments   Tell a friend
applies to: AutoCAD ·

See also:
Tip 11276:Inactive drawing, inactive commands after starting AutoCAD.
Tip 10881:What is the process acwebbrowser.exe resp. Chromium host executable?
Tip 10866:Revit LT 2017 in more, "secret" languages.
Tip 10658:How to open a R/O DWG without the read-only warning?
Tip 10643:Navisworks 2016 requires login to an Autodesk account after launch.

Back   All CAD Tips All CAD tips&tricks

Pressing up-arrow repeats also the entered coordinates. Why? « | » Changing the mouse-wheel zoom orientation in AutoCAD or Inventor.

Have we helped you? If you want to support the CAD Forum web service, consider buying one of our CAD applications, or our custom software development offerings, or donating via PayPal (see above). You may also add a link to your web - like this "fan" link: CAD Forum - tips, utilities, blocks for Autodesk products
CAD:    OS:    Categ: 
Text:  FAQ glossary   

Add .CIT raster format support to AutoCAD and Map and Civil 3D
CITin More info

Please use these tips at your own risk.
CAD Studio (Xanadu) is not responsible for possible problems that may occur as a result of using any of these tips.