2011

Table Of Contents
WSCURRENT
Returns the current workspace name at the Command prompt and sets a
workspace to current.
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 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"]
144 | Chapter 5 Customize the Drawing Environment