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 end of the product 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.
The syntax for using command line switches is:
"drive:\pathname\[product].exe" ["drawingname"] [/switch "name"]
Follow the switch with a space and then enter 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 2024 with the drawing template arch1.dwt, restores a named view PLAN1, and executes a script file startup.scr:
"d:\AutoCAD LT 2024\acadlt.exe” /t "d:\AutoCAD LT 2024\templatearch1.dwt" /v "plan1" /b "startup"