summaryrefslogtreecommitdiff
path: root/Master/bin/win32/sam2p.bat
blob: 94826fe36c5edcad6ba5ab27c4fa2951e35fe651 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
@echo off
rem Launcher script for sam2p
rem Make environment changes local
setlocal enableextensions
rem Get TL installation root (w/o trailing backslash)
set tlroot=%~dp0:
set tlroot=%tlroot:\bin\win32\:=%
rem Use provided GS
set GS_LIB=%tlroot%\tlpkg\tlgs\lib;%tlroot%\tlpkg\tlgs\fonts
rem Add bin dir to path
path %tlroot%\bin\win32;%tlroot%\tlpkg\tlgs\bin;%path%
rem Start sam2p and exit
"%tlroot%\tlpkg\sam2p\sam2p.exe" %*