@echo off
setlocal
set ThemidaPath=.\Themida_x64_v2.2.3.0
set PATH=%PATH%;%ThemidaPath%
echo Themida 패킹 시작 ...
call :ThemidaFunction some_file.tmd some_file.exe some_file._ini
echo.
echo. 모든 패킹 작업이 완료되었습니다.
goto :EOF
:ThemidaFunction
start /w themida64 /protect %1 /inputfile %2 /inifile %3
if errorlevel 3 goto 3
if errorlevel 2 goto 2
if errorlevel 1 goto 1
if errorlevel 0 goto 0
goto done
:0
echo Application protected successfully
goto done
:1
echo ERROR: File already protected
goto done
:2
echo ERROR: File to protect cannot be opend
:3
echo ERROR: An internal error occurred while protecting
:done
echo [%2] Themida Packing Complete!!
이건 좀 알아보기 쉽게 만든 거고 빠르게 추가하려면
call :ThemidaFunction some_file exe
call :ThemidaFunction some_file2 dll
start /w themida64 /protect %1.tmd /inputfile %1.%2 /inifile %1._ini
이런 식으로 하면 된다.