@echo off CALL setenv.bat echo ======================================== echo Creating all test DXF files from testdata echo Output directory: %PROJECT_WORK% echo ======================================== echo. REM Iterate through all CSV files in testdata directory for %%f in (%PROJECT_TEST%\*.csv) do ( echo Processing: %%~nxf CALL plant2dxf.bat -f "%%f" -o "%PROJECT_WORK%\%%~nf.dxf" if errorlevel 1 ( echo ERROR: Failed to process %%~nxf echo. ) else ( echo SUCCESS: Created %%~nf.dxf in work folder echo. ) ) echo ======================================== echo All test DXF files processed! echo ======================================== pause