You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
479 B
26 lines
479 B
@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 |