@echo off rem copy this file and install-w32client to the same directory rem as texmf, texmf-dist etc. rem TeX Live Root; ends with backslash rem This may also work with UNC names set texdir=%~dp0 set tldrive=%~d0 %tldrive% cd %texdir% rem use provided Perl set PERL5SAVE=%PERL5LIB% set PERL5LIB=%texdir%tlpkg\tlperl\lib;%texdir%tlpkg "%texdir%tlpkg\tlperl\bin\perl" "%~dpn0" %* rem pause Done rem cleanup in case of start from command-line set PERL5LIB=%PERL5SAVE% set PERL5SAVE= set tldrive= set texdir= pause