FOR %%F IN ("C:\CADnoob\drawings\*.dwg") DO "C:\Program Files\Autodesk\AutoCAD 2017\accoreconsole.EXE" /i "%%F" /s "C:\CADnoob\SCRIPT.scr"