summaryrefslogtreecommitdiff
path: root/Master/tlpkg/doc/windemo.bat
blob: 0aab32be7c0c93d65ec1e159e63db7273ed05397 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
@echo off

rem TeX Live win32 bin directory; ends with backslash
rem This should also work with UNC names
set tlsubsub=%~dp0

set PERL5SAVE=%PERL5LIB%

set PERL5LIB=%tlsubsub%..\..\tlpkg\tlperl\lib
"%tlsubsub%..\..\tlpkg\tlperl\bin\perl" "%~dpn0.pl" %1 %2 %3 %4 %5 %6 %7 %8 %9
pause Done

rem cleanup in case of start from command-line

set PERL5LIB=%PERL5SAVE%
set PERL5SAVE=
set tlsubsub=