Datasheet

Book IX
Chapter 1
The Basics
of Customizing
AutoCAD
Customizing the AutoCAD Startup Process
643
switches also to control which user profile is used when AutoCAD starts.
This enables you to have multiple profiles for AutoCAD on the computer and
use different desktop shortcuts to switch between them. When using com-
mand line switches, make sure that you use “ ” (double quote marks) around
the name of a drawing or drawing template file, a workspace, or a path that
contains a space. If you don’t use “ ” around a name or path that contains a
space, AutoCAD will assume it is another command line switch or argument.
Table 1-1 lists the different command line switches that are available for
AutoCAD.
Table 1-1 Command Line Switches
Switch and Syntax Description
No switches If a list of drawings with spaces between each
one is provided, AutoCAD opens each file
“...\acad.exe” “drawing1” drawing2 passed to it that can be found.
drawing
n
/b The /b switch indicates to AutoCAD that it should
run the specified script file after it has been
“...\acad.exe” [“drawing”] /b “script” started and the default or specified drawing has
been opened. For more on using script files, see
Chapter 4 in this minibook.
/c Allows you to specify the location of the
acad2009.cfg (acadlt2009.cfg) file.
“...\acad.exe” /c “configuration file”
/ld Allows you to load an ObjectARX or ObjectDBX
file at startup. For more information on Object
“...\acad.exe” /ld “objectarx/objectdbx_file” ARX and ObjectDBX files, see Bonus Chapter 2
on the Web (www.wiley.com/go/autocad2009aio).
/nohardware Disables hardware acceleration if it was enabled
prior to AutoCAD closing the last time it was used.
“...\acad.exe” /nohardware
/nologo Suppresses the AutoCAD splash screen at
startup./nossm
“...\acad.exe” /nologo
“...\acad.exe” /nossm Suppresses Sheet Set Manager when AutoCAD
starts, if it was open the last time AutoCAD was
closed. For more on Sheet Set Manager, see
Book VII, Chapter 2.
continued
47 243787 bk09ch01.qxp 4/7/08 1:58 PM Page 643