Zitat:
Customize Startup
You can use command line switches to specify several options when AutoCAD LT starts. For example, AutoCAD LT can run a script, start with a specified template drawing, and display a specified view when a drawing is opened. With command line switches, you can also set up several AutoCAD LT icons, each with different start-up options.
Command line switches are parameters you can add to the aclt.exe command line associated with a 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. /b
Script name
Designates a script to run after AutoCAD LT starts (b stands for batch process). Scripts can be used to set up drawing parameters in a new drawing file. An SCR file type is assumed.
/t
Template file name
Creates a new drawing based on a template or prototype drawing. A DWT file type is assumed.
/c
Configuration folder
Specifies the path for the hardware configuration file that you want to use. You can specify a directory or a particular file. A CFG file type is assumed.
/v
View name
Designates a particular view of the drawing for display at startup of AutoCAD LT.
The syntax for using command line switches is
"drive :pathname\aclt.exe" ["drawing name"] [/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 AutoCAD LT from a folder named AutoCAD LT 2002 with the template drawing arch1.dwt, restores a named view PLAN1, and executes a script file startup.scr.
"d:\AutoCAD LT 2002\aclt.exe"/t "d:\AutoCAD LT 2002\template\arch1" /v "plan1" /b "startup"
AutoCAD LT resolves the environment settings 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 the Options dialog box.
If a command line switch is not set, the corresponding value set in the Options dialog box is used.
Note Command line switches override Options values for the current session only. They do not alter the system registry.