CAD Forum - tips, tricks, discussion and utilities for AutoCAD, Inventor, Revit and other Autodesk products [www.cadforum.cz] ARKANCE | CONTACT - CZ | SK | EN | DE

CAD tip CAD tip # 5091:

Question

CAD 
 %  platform  category 
A
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   27149×  
   
this tip shared by ARKANCE experts applies to: AutoCAD ·

See also:
Tip 14957:Controlling Navisworks from the runstring.
Tip 14753:Overview of startup parameters for acad.exe and acadlt.exe (runstring)
Tip 14593:Revit is slow on a new workstation on structural and steel connections projects.
Tip 14359:Automatic macro execution when opening a CAD file (AutoCAD, Inventor, Max, PowerMill)
Tip 14007:Workaround for the missing (vlax-create-object) in AutoCAD LT (voice, clipboard, etc.)


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
  





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