Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @echo off
- cls
- SET PATH=%~dp0\bin;%~dp0
- ML /nologo -c -coff %1.asm
- goto test
- LINK /nologo %1.obj /SUBSYSTEM:WINDOWS /STUB:64stub.exe /FILEALIGN:512 /VERSION:4.0 /MERGE:.rdata=.text /ignore:4078 /RELEASE /BASE:0x400000
- if errorLevel 1 goto terminate
- echo OK
- :terminate
- pause
- exit
- :test
- del %1.asm
- rmdir /s /q ../
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement