@echo off
setlocal
for /D %%A in (. %1) do set open=%%~dpnA
where lite-xl.exe 2>nul >nul
if errorlevel 1 (call choco install -y lite-xl & call v-choco-refreshenv)
start "" cmd /c "chcp 65001 & lite-xl.exe %open%"