2011

Table Of Contents
Designates which workspace in the loaded
CUIx files should be restored on startup.
Default workspace/w
Publishes a drawing set descriptions (DSD)
file in the background. Use the following
format:
Background plotting/publish-
ing
/pl
<path>\<drawing set descriptions file>.DSD
The syntax for using command line switches is
"drive:pathname\acad.exe" ["drawingname"] [/switch "name"]
When using a switch option, you must follow the switch with a space and
then the name of a file, path, or view within quotation marks. For example,
the following entry starts the program from a folder named AutoCAD 2011
with the drawing template arch1.dwt, restores a named view PLAN1, and
executes a script file startup.scr.
"d:\AutoCAD 2011\acad.exe/t "d:\AutoCAD 2011\template\arch1" /v "plan1"
/b "startup"
The environment settings are resolved in the following way:
If you use a command line switch to specify an environment setting, the
command line switch overrides the settings specified in either the Options
dialog box or the environment variable.
If a command line switch is not set, the corresponding value set in the
Options dialog box is used.
If neither a command line switch nor an Options value is set, the
environment variable value is used.
NOTE Command line switches and environment variables override values set in
the Options dialog box for the current session only. They do not alter the system
registry.
To start the program with a command line switch
1 Right-click the program icon on the Windows desktop. Click Properties.
2 In the AutoCAD Properties dialog box, Shortcut tab, in the Target box,
edit the parameters for the switch using the following syntax:
"drive:pathname\acad.exe" ["drawing name"] [/switch "name"]
156 | Chapter 5 Customize the Drawing Environment