20 lines
424 B
Batchfile
20 lines
424 B
Batchfile
@echo off
|
|
setlocal EnableExtensions DisableDelayedExpansion
|
|
set "APPLICATION=%~dp0DoctorWorkstation\DoctorWorkstation.exe"
|
|
|
|
if not exist "%APPLICATION%" (
|
|
echo DoctorWorkstation.exe was not found.
|
|
echo Please keep this launcher beside the DoctorWorkstation folder.
|
|
pause
|
|
exit /b 1
|
|
)
|
|
|
|
start "" "%APPLICATION%"
|
|
if errorlevel 1 (
|
|
echo DoctorWorkstation failed to start.
|
|
pause
|
|
exit /b 1
|
|
)
|
|
|
|
exit /b 0
|