CAD Forum - tips, tricks, discussion and utilities for AutoCAD, Inventor, Revit and other Autodesk products [www.cadforum.cz]
CZ | EN | DE
Login or
registration
  Visitors: 6922
Plex.Earth connects AutoCAD and Google Earth

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.

ACAD
100% *  CAD 
22.6.2006    25335×  
Prices - CAD eShop:
applies to: AutoCAD ·

See also:
Tip 14007:Workaround for the missing (vlax-create-object) in AutoCAD LT (voice, clipboard, etc.)
Tip 14006:Universal MsgBox in AutoLISP.
Tip 12120:Double-click to edit raster images in DWG drawings.
Tip 11276:Inactive drawing, inactive commands after starting AutoCAD.
Tip 10881:What is the process acwebbrowser.exe resp. Chromium host executable?


Back   All CAD Tips



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   



Featuring:
Use Google Earth images in your AutoCAD projects with the Plex.Earth Tools More info


Please use these tips at your own risk.
Arkance Systems is not responsible for possible problems that may occur as a result of using any of these tips.
TOPlist