Command Line Switch Reference

This table lists the command line switches you can use for custom command line startup of the program.


Script name

Designates a script to run after you start the program (b stands for batch process).

If the script file is in the Start In folder, a full path to the script file is required unless this security measure is suppressed either by including the /six command line switch, or setting the LEGACYCODESEARCH system variable to 1.

Scripts can be used to set up drawing parameters in a new drawing file. An SCR file type is assumed.


Configuration folder

Obsolete. Specifies the folder location of the configuration file. If you do not set this switch, the executable folder is searched and the ACADCFG environment variable is used.


ARX or DBX application

Loads a specified ARX or DBX application. Use the following format:


If the path or file name contains spaces, then the path or file name should be wrapped in double quotes. If no path information is included, the program search path is used.

The same security measure as described in the /b switch applies to ARX and DBX files.


Disables hardware acceleration

Disables hardware acceleration on startup.


No product logo screen

Suppresses the logo screen at startup.


No Sheet Set Manager palette

Suppresses the display of the Sheet Set Manager palette on startup.


User-defined registry profile

for starting the program

Specifies a user-defined registry profile for starting the program. The selected profile is in effect only for the current session of the program, unless you make another profile current in the Options dialog box during that session.

You create or import profiles on the Profiles tab in the Options dialog box. With the /p switch, you can specify the name of a profile that is listed in the Options dialog box or the file name of an exported profile (ARG) file. If the profile does not exist, the current profile is used.


Background plotting/publishing

Publishes a drawing set descriptions (DSD) file in the background. Use the following format:

<path><drawing set descriptions file>.DSD


Default system pointing device

Obsolete. Restores the default system pointing device. It creates a new configuration file (acad20xx.cfg) and renames the previous configuration file to acad20xx.bak.


Support folders

Designates support folders other than the current ones. Drawing support files include text fonts, menus, AutoLISP files, linetypes, and hatch patterns. The maximum number of folders you can specify in the path is 15. Each folder name is delimited by semicolons.


Disable all executable code

Prevents all executable files from loading and executing in the current session. This switch is useful for stopping and locating malicious executable code.

Note: The Express Tools and some AutoCAD command tools are also prevented from functioning, so this switch should be used only in emergency situations.


Sheet set

Loads the named sheet set on startup. Use the following format:

<path><sheet set data file>.DST


"Start In" execution

Allows searching for executable files in the "Start In" folder of the program. The Start In folder is specified in the program’s shortcut icon, or the folder in which a DWG file is doubled-clicked to start the program.

As a security measure, searching for executable files in the Start In and drawing folders is suppressed unless the LEGACYCODESEARCH system variable is set to 1. The /six switch provides an exception to allow searching in the Start In folder even when the LEGACYCODESEARCH system variable is set to 0.


Template file name

Creates a new drawing based on a template or prototype drawing. A DWT file type is assumed.


View name

Designates a specified view of the drawing for display at startup.


Default workspace

Designates which workspace in the loaded CUIx files should be restored on startup.