1@echo off
2
3setlocal
4
5set "BIN_DIR=%~dp0"
6set "EXECUTABLE=%BIN_DIR%midpoint.bat"
7
8if not exist "%EXECUTABLE%" (
9    echo Error: Cannot find "%EXECUTABLE%"
10    echo This file is needed to run this program
11    goto end
12)
13
14call "%EXECUTABLE%" stop %*
15
16:end
17