RC Script Execution [err:7185]

Strange error while using the useSavedReconstructionRegions.bat

:: CapturingReality

@ echo off

:: Call a batch file where variables for ReconstructionRegion .exe file and root folder are stored
call SetVariables.bat

:: Here we check how many rows and columns were used when divided, from the file table.txt
(
set /p totalRows=
set /p totalColumns=
set /p totalFloors=
)<table.txt

:: Below here place any commands you would like to do before cycling through the reconstruction regions (such as selecting a model to work with)
%RealityCaptureExe% -delegateTo * -selectComponent "Component 0"


set /a rowNumber=1
set /a columnNumber=1
set /a floorNumber=1

:iteratingColumns
:: Here we load the reconstruction region
%RealityCaptureExe% -delegateTo * -setReconstructionRegion "%workingDir%reconRegions\box_%rowNumber%_%columnNumber%_%floorNumber%.rcbox"

:: Here place any commands you would like to do with every reconstruction region (remove pause if you don't need to work in the GUI
::pause
%RealityCaptureExe% -delegateTo * -calculateNormalModel -calculateVertexColors -exportSelectedModel %workingDir%Models\Model_%rowNumber%_%columnNumber%_%floorNumber%.las %workingDir%\exportLas.xml

:: Import the next reconstruction region in the row or go to the next column.
if %columnNumber% == %totalColumns% goto nextRow
set /a columnNumber+=1
goto iteratingColumns
pause

:nextRow
if %rowNumber% == %totalRows% goto nextFloor
set /a rowNumber+=1
set /a columnNumber=1
goto iteratingColumns
pause

:nextFloor
if %floorNumber% == %totalFloors% goto end
set /a floorNumber+=1
set /a rowNumber=1
set /a columnNumber=1
goto iteratingColumns

:: Finish processing.
:end

All help is appreciated

Solved: The line

%RealityCaptureExe% -delegateTo * -calculateNormalModel -calculateVertexColors -exportSelectedModel %workingDir%Models\Model_%rowNumber%_%columnNumber%_%floorNumber%.las %workingDir%\exportLas.xml

Was changed to

%RealityCaptureExe% -delegateTo * -calculateNormalModel -calculateVertexColors -exportSelectedModel %RootFolder%Models\Model_%rowNum%_%columnNum%_%zNum%.las %RootFolder%\exportLAS.xml

Works fine now