"Fossies" - the Fresh Open Source Software Archive

Member "install-tl-20231204/tlpkg/installer/tl-cmd.bat" (20 Feb 2023, 425 Bytes) of package /linux/misc/install-tl-unx.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) MS DOS Batch source code syntax highlighting (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

    1 @echo off
    2 
    3 rem This batchfile starts a command prompt with the TeX Live
    4 rem Windows binary directory as first path component.
    5 
    6 rem Public domain
    7 
    8 @echo off
    9 setlocal enableextensions
   10 
   11 rem Add bin dir to beginning of PATH only if it is not already there
   12 for /f "tokens=1,2 delims=;" %%I in ("%~dp0..\..\bin\windows;%PATH%") do if not "%%~fI"=="%%~fJ" set "PATH=%%~fI;%PATH%"
   13 
   14 rem Start new console
   15 start "TeX Live" "%COMSPEC%"