summaryrefslogtreecommitdiff
path: root/Master/tlpkg/installer/tl-cmd.bat
diff options
context:
space:
mode:
authorSiep Kroonenberg <siepo@cybercomm.nl>2011-05-25 16:16:09 +0000
committerSiep Kroonenberg <siepo@cybercomm.nl>2011-05-25 16:16:09 +0000
commit43501eef4fb3727cb95995708ee0f26cbf91c1ce (patch)
tree9914d43838364479f11485dbad0e64a156295ad2 /Master/tlpkg/installer/tl-cmd.bat
parent53c9cf4361d7d247851dec37a7f9a11a03a25d39 (diff)
Batchfile target for command-line shortcut with proper searchpath
git-svn-id: svn://tug.org/texlive/trunk@22610 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/tlpkg/installer/tl-cmd.bat')
-rwxr-xr-xMaster/tlpkg/installer/tl-cmd.bat12
1 files changed, 12 insertions, 0 deletions
diff --git a/Master/tlpkg/installer/tl-cmd.bat b/Master/tlpkg/installer/tl-cmd.bat
new file mode 100755
index 00000000000..ef6be8b68ae
--- /dev/null
+++ b/Master/tlpkg/installer/tl-cmd.bat
@@ -0,0 +1,12 @@
+@echo off
+
+rem This batchfile starts a command prompt with the TeX Live
+rem Windows binary directory as first path component.
+
+rem Public domain
+
+@echo off
+setlocal enableextensions
+
+for %%I in ("%~dp0..\..\bin\win32") do set "PATH=%%~fI;%PATH%"
+start "TeX Live 2011" "%COMSPEC%"