@echo off setlocal set "SCRIPT_DIR=%~dp0" set "RUNNER_URL=%~1" if "%RUNNER_URL%"=="" set "RUNNER_URL=http://localhost/tests-dev/run-all.asp" echo Syncing mirrored test web.config files... cscript //nologo "%SCRIPT_DIR%sync-webconfigs.vbs" if errorlevel 1 ( echo Failed to sync mirrored test web.config files. exit /b 1 ) echo Opening test runner: %RUNNER_URL% start "" "%RUNNER_URL%" echo. echo If your tests app is served from a different URL, pass it as the first argument: echo tests\run-tests.cmd http://localhost:8085/run-all.asp