You may know that you can start certain Windows programs from the command line. These programs are in the acad.pgp file that defines aliases for commands. The first section has aliases for Windows commands.
To edit this file and add more commands, choose Tools > Customize > Edit Program Parameters. Notepad opens the acad.pgp file. Scroll down until you see the following:
Therefore, if you type explorer on the command line, Windows Explorer opens. To open a new file in Notepad, type notepad and press Enter at the prompt that appears.
If you add commands, use the same format. The text before these commands explains the meaning of the 1 and the general format. Then save the file. Back in AutoCAD, type reinit to reinitialize acad.pgp and you’ll be able to use your changes.
Tushar Dabholkar from Pune, India e-mailed me some more ways to launch programs from the command line.
Did you find this tip helpful?
Don't miss new tips!
Plus get a free Dynamic Blocks tutorial
Enter your name and email below
You can type start on the command line and it functions like choosing Start > Run in Windows. For example, you can type winword or excel to open those programs (if you have them installed). Or type calc to open the Windows calculator or mplayer2 to the Windows media player.