CAD FORUM - TIPS & TRICKS | UTILITIES | DISCUSSION | BLOCKS | SUPPORT | HELP & ASSISTANCE
Over 1.124.000 registered users (EN+CZ).
AutoCAD tips, Inventor tips, Revit tips, Civil tips, Fusion tips.
The new Beam calculator, Spirograph generator and Regression curves in the Converters section.
New AutoCAD 2027 commands and sys.variables
CAD tip # 7468:
Question
A
Prepare a script file (the .SCR extension) where you set the requested system variable. This file is a plain text file with a single line - e.g. to "myscript.scr" insert:
HPNAME myhatch
Save this script to the AutoCAD program or support folder.
Then add the string /b myscript.scr to the AutoCAD runstring (the desktop icon, right-click to Properties > Shortcut > Target) -- this will run your script file automatically when you start AutoCAD - e.g.:
"C:\Program Files\Autodesk\AutoCAD LT 2011\acadlt.exe" /b myscript.scr
ACADACLT
23.7.2010
11206×
this tip shared by ARKANCE experts applies to: AutoCAD · AutoCAD LT ·
![CAD Forum - ARKANCE Community - tips, tricks, discussion and utilities for AutoCAD, Inventor, Revit and other Autodesk products [www.cadforum.cz] CAD Forum - tips, tricks, discussion and utilities for AutoCAD, Inventor, Revit and other Autodesk products [www.cadforum.cz]](../common/arkance_186.png)

What is the ARKANCE Community?