Okay, so I have verified that my support file search patch, my working file support path and trusted locations are all up to date with the file location of the script and LSP. I tried running your simple LSP and scr file as a batch and this is what I am getting.
ECHO is off.
ECHO is off.
ECHO is off.
ECHO is off.
Press any key to continue . . .
Redirect stdout (file: C:\Users\u7626\AppData\Local\Temp\accc153882).
AcCoreConsole: StdOutConsoleMode: processed-output: enabled,auto
AutoCAD Core Engine Console - Copyright 2021 Autodesk, Inc. All rights reserved. (S.173.0.0)
Execution Path:
C:\Program Files\Autodesk\AutoCAD 2022\accoreconsole.exe
Current Directory: C:\Users\u7626\OneDrive - Great River Energy\Documents\GRE LSP ROUTINE
Version Number: S.173.0.0 (UNICODE)
LogFilePath has been set to the working folder.
Loading AEC Base...
Loading AEC Base Extended...
Loading AEC Core...
Loading AEC Project Base...
Loading AEC Architectural Base...
Loading AEC Schedule...
Regenerating model. may not plot
Press ENTER to continue:
**** System Variable Changed ****
1 of the monitored system variables has changed from the preferred value. Use SYSVARMONITOR command to view changes.
AutoCAD menu utilities loaded.
Command:
Command:
Command:
Command: (command "_.arx" "Load" "acapp.arx")
_.arx
Enter an option [?/Load/Unload/Commands/Options]: Load
Enter ARX/DBX file name to load: acapp.arx
Command: nil
Command: (LOAD "drawr")
DRAWR
Command: (drawr)
_.Rectang
Specify first corner point or [Chamfer/Elevation/Fillet/Thickness/Width]: 0,0
Specify other corner point or [Area/Dimensions/Rotation]: 1,1
Command: nil
Command: _.qsaveRedirect stdout (file: C:\Users\u7626\AppData\Local\Temp\accc194002).
AcCoreConsole: StdOutConsoleMode: processed-output: enabled,auto
AutoCAD Core Engine Console - Copyright 2021 Autodesk, Inc. All rights reserved. (S.173.0.0)
Execution Path:
C:\Program Files\Autodesk\AutoCAD 2022\accoreconsole.exe
Current Directory: C:\Users\u7626\OneDrive - Great River Energy\Documents\GRE LSP ROUTINE
Version Number: S.173.0.0 (UNICODE)
LogFilePath has been set to the working folder.
Loading AEC Base...
Loading AEC Base Extended...
Loading AEC Core...
Loading AEC Project Base...
Loading AEC Architectural Base...
Loading AEC Schedule...
Regenerating model.
Press ENTER to continue:
**** System Variable Changed ****
1 of the monitored system variables has changed from the preferred value. Use SYSVARMONITOR command to view changes.
AutoCAD menu utilities loaded.
Command:
Command:
Command:
Command: (command "_.arx" "Load" "acapp.arx")
_.arx
Enter an option [?/Load/Unload/Commands/Options]: Load
Enter ARX/DBX file name to load: acapp.arx
Command: nil
Command: (LOAD "drawr")
DRAWR
Command: (drawr)
_.Rectang
Specify first corner point or [Chamfer/Elevation/Fillet/Thickness/Width]: 0,0
Specify other corner point or [Area/Dimensions/Rotation]: 1,1
Command: nil
Command: _.qsavePress any key to continue . . .