代码如下:
@echo off
cls
echo This programme is to make the MASM programme automate
if "%1"=="" goto usage
if "%1"=="/?" goto usage
if "%1"=="help" goto usage
pause
masm %1.asm
if errorlevel 1 pause & edit %1.asm
link %1.obj & %1
:usage
echo Usage: This BAT file name [asm file name]
echo Default BAT file name is START.BAT
测试了下,没有任何反应,不知道该如何使用作者: HAT 时间: 2007-11-28 20:12 把你的测试用例贴出来看看