📄 makeit.bat
字号:
@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 "msgbox.obj" del "msgbox.obj"
if exist "msgbox.exe" del "msgbox.exe"
\masm32\bin\ml /c /coff "msgbox.asm"
if errorlevel 1 goto errasm
if not exist rsrc.obj goto nores
\masm32\bin\Link /SUBSYSTEM:WINDOWS "msgbox.obj" rsrc.res
if errorlevel 1 goto errlink
dir "msgbox.*"
goto TheEnd
:nores
\masm32\bin\Link /SUBSYSTEM:WINDOWS "msgbox.obj"
if errorlevel 1 goto errlink
dir "msgbox.*"
goto TheEnd
:errlink
echo _
echo Link error
goto TheEnd
:errasm
echo _
echo Assembly Error
goto TheEnd
:TheEnd
pause
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -