Script generator files refer to the lisp files used with the AMSCRIPT command.
The path to the folder containing script generator files is in the system editor key Acad/M
Paths
ScrPath (Configuration file setting
gen@Paths@ScrPath).
By default, the key points to C:\ProgramData\Autodesk\AutoCAD Mechanical 2027\Acadm\Gen\Scr.