@echo off

if not "%TINA_HOME%" == "" goto tina_home_ok

echo "The TINA_HOME environment is not set!"
goto end

:tina_home_ok

rem We set the PATH to find perl5xx.dll and other DLLs (ssleay32...)
set PATH=%TINA_HOME%\3rdParty\perl\bin;%PATH%

set PERL5LIB=%TINA_HOME%/Bin/Perl;%TINA_HOME%/Tools/Include;%TINA_HOME%/Tools/Tina/Include
"%TINA_HOME%\3rdParty\perl\bin\perl" %*

:end
