2012

Table Of Contents
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 acadlt.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.
Designates a particular view of the drawing
for display at startup.
View name/v
Designates which workspace in the loaded
CUIx files should be restored on startup.
Default workspace/w
The syntax for using command line switches is
"drive:pathname\acadlt.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 LT 2012
with the drawing template arch1.dwt, restores a named view PLAN1, and
executes a script file startup.scr.
"d:\AutoCAD LT 2012\acadlt.exe/t "d:\AutoCAD LT 2012\template\arch1"
/v "plan1" /b "startup"
NOTE Command line switches override Options values for the current session
only. They do not alter the system registry.
184 | Chapter 5 Customize the Drawing Environment