DEVenv/Win/Scripts/remedybg.bat

12 lines
351 B
Batchfile
Raw Normal View History

@echo off
setlocal
2024-07-04 12:08:49 +00:00
set desired_path=%devenver_root%\RemedyBG\0_4_0_3
set desired_exe=remedybg.exe
set path=%desired_path%;%path%
set exe_to_use=""
for /f "delims=" %%a in ('where "$desired_path:%desired_exe%"') do ( set "exe_to_use=%%a")
echo [DEVENVER] Executing script "%~dpnx0" with "%exe_to_use%"
start /B %desired_exe% %*
endlocal