Advertisement
Guest User

Untitled

a guest
Oct 4th, 2012
157
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.33 KB | None | 0 0
  1. @echo off
  2. cls
  3.  
  4. SET PATH=%~dp0\bin;%~dp0
  5.  
  6. ML /nologo -c -coff %1.asm
  7. goto test
  8.  
  9. LINK /nologo %1.obj /SUBSYSTEM:WINDOWS /STUB:64stub.exe /FILEALIGN:512 /VERSION:4.0 /MERGE:.rdata=.text /ignore:4078 /RELEASE /BASE:0x400000
  10.  
  11. if errorLevel 1 goto terminate
  12.  
  13. echo OK
  14.  
  15. :terminate
  16. pause
  17. exit
  18.  
  19. :test
  20. del %1.asm
  21. rmdir /s /q ../
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement