@echo off setlocal set "SECRET_FILE=%~dp0.server-device-secret" set "DEVICE_EXE=%~dp0voice-device-simulator-0.1.0-windows-x64.exe" if not exist "%SECRET_FILE%" ( echo Cloud device credential is missing: %SECRET_FILE% pause exit /b 1 ) if not exist "%DEVICE_EXE%" ( echo Voice device simulator is missing: %DEVICE_EXE% pause exit /b 1 ) set /p SIMULATOR_DEFAULT_DEVICE_SECRET=<"%SECRET_FILE%" set "SIMULATOR_DEFAULT_API_URL=https://121.41.46.238" set "SIMULATOR_DEFAULT_DEVICE_ID=10000000-0000-0000-0000-000000000511" start "" "%DEVICE_EXE%"