@echo off rem Launcher script for texworks rem Get TL root (should be two levels up) for %%I in (%~dp0..\..) do (set tlroot=%%~fI) rem Add bin dir to path path %tlroot%\bin\win32;%path% rem Start texworks editor start "" "%tlroot%\tlpkg\texworks\texworks.exe" %*