build.bat

来自「本程序能够在EXE程序运行之前弹出一个输入密码对话框」· Batch 代码 · 共 41 行

BAT
41
字号
@echo off

if not exist rsrc.rc goto over1
\masm32\bin\rc /v rsrc.rc
\masm32\bin\cvtres /machine:ix86 rsrc.res
:over1

if exist Sheller.obj del Sheller.obj
if exist Sheller.exe del Sheller.exe

\masm32\bin\ml /c /coff Sheller.asm
if errorlevel 1 goto errasm

if not exist rsrc.obj goto nores

\masm32\bin\Link /SUBSYSTEM:WINDOWS Sheller.obj rsrc.obj
if errorlevel 1 goto errlink

dir Sheller.*
goto TheEnd

:nores
\masm32\bin\Link /SUBSYSTEM:WINDOWS Sheller.obj
if errorlevel 1 goto errlink
dir Sheller
goto TheEnd

:errlink
echo _
echo Link error
goto TheEnd

:errasm
echo _
echo Assembly Error
goto TheEnd

:TheEnd


⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?