Files
make2/apps/startApp.bat
T
2024-12-27 11:34:28 +08:00

26 lines
479 B
Batchfile

@echo off
set app="C:\Program Files\Capturing Reality\RealityCapture\RealityCapture.exe"
rem Test the app is running
%app% -getStatus *
IF /I "%ERRORLEVEL%"=="0" (
echo RealityCapture istance is already running
%app% -delegateTo myrc -newScene
goto :eof
)
echo Starting new RealityCapture istance
start "" %app% -setInstanceName myrc
echo Waiting until the app starts
:waitStart
%app% -getStatus *
IF /I "%ERRORLEVEL%" NEQ "0" (
goto :waitStart
)
:eof