DEVenv/Win/Scripts/yarn-nodejs-16.19.0.bat

13 lines
338 B
Batchfile
Raw Normal View History

2023-08-17 02:00:21 +00:00
@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