2011

Table Of Contents
Customize Startup
Command line switches can specify a separate startup routine for each project.
You can use command line switches to specify several options when you start
the program. For example, you can run a script, start with a specified drawing
template, and display a specified view when a drawing is opened. With
command line switches, you can also set up several program icons, each with
different start-up options.
Command line switches are parameters you can add to the acad.exe command
line associated with a Microsoft
®
Windows
®
shortcut icon or the Windows
Run dialog box. You can include several switches within a single command
line. Valid switches are listed in the following table.
Designates a script to run after you start the
program (b stands for batch process). Scripts
Script name/b
can be used to set up drawing parameters
in a new drawing file. An SCR file type is as-
sumed.
Creates a new drawing based on a template
or prototype drawing. A DWT file type is
assumed.
Template file name/t
Specifies the path for the hardware config-
uration file that you want to use. You can
Configuration folder/c
specify a directory or a particular file. A CFG
file type is assumed.
If you don't set the /c switch, the executable
directory is searched and the ACADCFGW
or ACADCFG environment variable is used
as a way to define the configuration file and
directory location.
Designates a particular view of the drawing
for display at startup.
View name/v
Loads a specified ARX or DBX application.
Use the following format:
ARX or DBX application/ld
<path>\<filename>.ARX
If the path or file name contains spaces, then
the path or file name should be wrapped in
154 | Chapter 5 Customize the Drawing Environment