makeit.bat
来自「RLPack1.20 一款优秀的压缩壳源代码.这个是官方最新的版本的源代码。壳完」· Batch 代码 · 共 58 行
BAT
58 行
@echo off
: -------------------------------
: if resources exist, build them
: -------------------------------
if not exist rsrc.rc goto over1
\MASM32\BIN\Rc.exe /v rsrc.rc
\MASM32\BIN\Cvtres.exe /machine:ix86 rsrc.res
:over1
if exist %1.obj del Main.obj
if exist %1.exe del Main.exe
: -----------------------------------------
: assemble RLP.asm into an OBJ file
: -----------------------------------------
\MASM32\BIN\Ml.exe /c /coff RLP.asm
if errorlevel 1 goto errasm
if not exist rsrc.obj goto nores
: --------------------------------------------------
: link the RLP OBJ file with the resource OBJ file
: --------------------------------------------------
\MASM32\BIN\Link.exe /SUBSYSTEM:WINDOWS /STACK:1000000,1000000 RLP.obj rsrc.obj
if errorlevel 1 goto errlink
dir RLP.*
goto TheEnd
:nores
: -----------------------
: link the RLP OBJ file
: -----------------------
\MASM32\BIN\Link.exe /SUBSYSTEM:WINDOWS RLP.obj
if errorlevel 1 goto errlink
dir RLP.*
goto TheEnd
:errlink
: ----------------------------------------------------
: display message if there is an error during linking
: ----------------------------------------------------
echo.
echo There has been an error while linking this project.
echo.
goto TheEnd
:errasm
: -----------------------------------------------------
: display message if there is an error during assembly
: -----------------------------------------------------
echo.
echo There has been an error while assembling this project.
echo.
goto TheEnd
:TheEnd
pause
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?