@echo off REM mm.bat - Batch file for assembling under Visual Studio.net REM assume irvine32.inc, irvine32.lib are in the current folder rem cls ML -Zi -c -Fl -Sg -coff %1.asm if errorlevel 1 goto terminate REM add the /MAP option for a map file in the link command. REM Use the following link command for Visual.Studio.Net: LINK %1.obj irvine32.lib kernel32.lib /SUBSYSTEM:CONSOLE /DEBUG /INCREMENTAL:NO if errorLevel 1 goto terminate dir %1.* :terminate REM pause
dd.bat - Script for debugging programs
@echo off REM erase key files to avoid debugger problems if exist %1.sln (del %1.sln) if exist %1.suo (del /AH %1.suo) if exist %1.pdb (del %1.pdb) devenv %1.exe /debugexe