To run a script at startup (Procedure)

AutoCAD

 
Run Scripts at Startup
Concept Procedure Quick Reference
 
 
 

To run a script at startup

  1. Click Start menu (Windows) Run.
  2. In the Run dialog box, enter acad drawing_name /b script_name.

    To start a new file, instead of a drawing file name, enter the /t switch and the name of a template file: /t template_drawing.

    To open a drawing file to a particular view, follow the drawing name with the /v switch and the name of the view: /v view_name.

    The name of the script file must be the last parameter listed. The file extensions are optional.

  3. Click OK.

    AutoCAD opens the drawing and executes the commands in the script file. When the script has been completed, the command prompt is displayed.