summaryrefslogtreecommitdiff
path: root/Master/bin/win32/texworks.bat
diff options
context:
space:
mode:
Diffstat (limited to 'Master/bin/win32/texworks.bat')
-rwxr-xr-xMaster/bin/win32/texworks.bat28
1 files changed, 0 insertions, 28 deletions
diff --git a/Master/bin/win32/texworks.bat b/Master/bin/win32/texworks.bat
deleted file mode 100755
index ad0002717e5..00000000000
--- a/Master/bin/win32/texworks.bat
+++ /dev/null
@@ -1,28 +0,0 @@
-@echo off
-rem Start-up script for TeXworks
-rem
-rem Originally written 2009 by Tomasz M. Trzeciak
-rem Public Domain
-
-setlocal enableextensions
-rem Get TL installation root (w/o trailing backslash)
-set TEXROOT=%~dp0:
-set TEXROOT=%TEXROOT:\bin\win32\:=%
-rem Add bin dir to path
-path %TEXROOT%\bin\win32;%PATH%
-rem Ask kpsewhich about TEXMFCONFIG location
-for /f "delims=" %%I in ('call "%~dp0kpsewhich.exe" --var-value=TEXMFCONFIG') do (
- set TW_INIPATH=%%~fI\texworks
- set TW_LIBPATH=%%~fI\texworks
-)
-rem Settings dir needs to exist or TeXworks will fall back on the registry
-if not exist "%TW_INIPATH%\" mkdir "%TW_INIPATH%"
-if not exist "%TW_INIPATH%\" goto :noinipath
-
-rem Start TeXworks editor without blocking command line
-start "TeX Works" "%TEXROOT%\tlpkg\texworks\texworks.exe" %*
-goto :eof
-
-:noinipath
-echo %~nx0: could not create directory: %TW_INIPATH%>&2
-exit /b 1