4 powershell -File "%~dp0set-version.ps1" %1 > "%temp%\ottd-set-version.bat"
5 if not errorlevel 0 goto err
6 call "%temp%\ottd-set-version.bat"
7 del /q "%temp%\ottd-set-version.bat"
9 @rem Version number will now be in %OTTD_VERSION%
14 echo Please supply the path of openttd.exe as the argument to this batch file.