DEVenv/Win/Scripts/yarn-nodejs-16.19.0.bat
2023-08-17 12:00:40 +10:00

13 lines
338 B
Batchfile

@echo off
setlocal
set desired_path=%devenver_root%\NodeJS\16.19.0
set desired_exe=yarn
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%"
call %desired_exe% %*
endlocal