Message 1 of 9
Troubles running layer renaming script through accoreconsole

Not applicable
08-08-2017
08:01 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I am running a .bat file that runs a layer renaming script through multiple .dwg files. The script works fine in acad.exe, but within accoreconsole, the program states it cannot find the layer. as show below.
The batch file is written as follows:
FOR %%f IN (H:\test\Constructs\*.dwg) DO START C:\"Program Files"\Autodesk\"AutoCAD 2017"\accoreconsole.exe %%f /s H:\test\Constructs\test.scr /l en-US
The script reads as follows :
_-rename
LA
Q-MACH-NMBR Q-MACH-LABL
I've checked numerous times, the names of the labels are correct. Is this an issue with system variables/settings within autocad/accoreconsole.
Thanks