@set INCPATH=D:\masm32\include
@set LIBPATH=D:\masm32\lib
cd /d d:\work\source
ml -c -coff /I %INCPATH% HelloWorld.asm
link -subsystem:windows -LIBPATH:%LIBPATH% HelloWorld.obj
pause
說明:
批進行中變量的定義:
@set INCPATH=D:\masm32\include
批進行中變量的引用:
%INCPATH%