bexe.bat

来自「windows32 汇编 8255小键盘」· Batch 代码 · 共 26 行

BAT
26
字号
@echo off

if exist %1.exe del %1.exe

ml /c /coff /Zi %1.asm 
if not exist %1.obj goto mlerr

if not exist %1.res goto pos1
Link /SUBSYSTEM:WINDOWS /DEBUG /DEBUGTYPE:CV %1.obj %1.res 
echo     link with the resource file.
goto pos2

:pos1
Link /SUBSYSTEM:WINDOWS /DEBUG /DEBUGTYPE:CV %1.obj 
echo     without the resource file.

:pos2
del %1.obj

goto over

:mlerr
echo assemble error!

:over

⌨️ 快捷键说明

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