- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I'm at my wit's end trying to get this simple thing to work. I have a LSP that works just fine when I run it. If I try and have it run in the command line version, defun C:FART and then run the command from the command line, I get an error that it isn't found. So through another post I found that I can just add running the command to the bottom of the LSP routine. (attached)
My SCR file is:
(load "C:/Autodesk/FART.lsp")
QSAVE
My BAT is:
set accoreexe="C:\Program Files\Autodesk\AutoCAD 2020\accoreconsole.exe"
set source=N:\100\10\01\Design\Civil\test
set script="C:\Autodesk\NORTHSIDE"
FOR /f "delims=" %%f IN ('dir /b "%source%\*.dwg"') DO %accoreexe% /i "%source%\%%f" /s %script%
It saves the file, but does not accomplish the simple text replace from the LSP. I have no idea what's going on. There is a temp file that gets generated like accc306042 with:
m_kernelList still has 1 entry.
ERROR: Can't delete temp file C:\Users\MATTHE~1.SCH\AppData\Local\Temp\accc306042. (errno=13).
What is it that I am not doing?
Solved! Go to Solution.