summaryrefslogtreecommitdiff
path: root/Master/tlpkg/doc/wingoo-demo.bat
diff options
context:
space:
mode:
Diffstat (limited to 'Master/tlpkg/doc/wingoo-demo.bat')
-rwxr-xr-xMaster/tlpkg/doc/wingoo-demo.bat9
1 files changed, 5 insertions, 4 deletions
diff --git a/Master/tlpkg/doc/wingoo-demo.bat b/Master/tlpkg/doc/wingoo-demo.bat
index b3129d46771..d9a2eb68d06 100755
--- a/Master/tlpkg/doc/wingoo-demo.bat
+++ b/Master/tlpkg/doc/wingoo-demo.bat
@@ -2,13 +2,14 @@
rem Directory of this script; ends with backslash
rem This should also work with UNC names
-set tldoc=%~dp0
+set tlsubsub=%~dp0
+set tlprog=
set tldrive=%~d0
%tldrive%
-cd %tldoc%
+cd %tlsubsub%
-"%tldoc%..\tlperl\bin\perl" "%tldoc%wingoo-demo.pl"
+"%tlsubsub%..\..\tlpkg\tlperl\bin\perl" "%~dpn0.pl" %1 %2 %3 %4 %5 %6 %7 %8 %9
pause Done
@@ -17,4 +18,4 @@ rem cleanup in case of start from command-line
path %pathsave%
set pathsave=
set tldrive=
-set tldoc=
+set tlsubsub=