| Environment | Files | Command Line |
| INCLUDE= | where MASM looks for include files (.INC) =C:\MASM\INC |
|
| INIT= | where MAKE looks for TOOLS.INI | |
| LIB= | where LINK looks for Library (.LIB) and object (.OBJ) files =C:\MASM\LIB |
|
| LINK= | default options for LINK =/CO |
|
| MASM= | default options for MASM =/ZI |
|
| PATH= | set to include directory with MASM binaries =C:\MASM\BIN;%PATH% |
|
| TMP= | where LINK places temporary files |
En batchfil kan fx indeholde følgende:
| SET LIB=C:\MASM\LIB;C:\MASM\LIB\BIN SET INCLUDE=C:\MASM\INC PATH C:\MASM\BIN;%PATH% |
| MASM [options] source [,[objectfile][,[listing][,[crossref]]]][;] | ||||||||||||||||||||||||||||||||||||
|
Examples: