home *** CD-ROM | disk | FTP | other *** search
/ Reverse Code Engineering RCE CD +sandman 2000 / ReverseCodeEngineeringRceCdsandman2000.iso / RCE / Hutch / DOWNLOAD / Example2.exe / SPLASH / MAKEIT.BAT < prev    next >
Encoding:
DOS Batch File  |  1999-06-08  |  673 b   |  42 lines

  1. @echo off
  2.  
  3. if not exist rsrc.rc goto over1
  4. G:\MASM32\BIN\Rc.exe /v rsrc.rc
  5. G:\MASM32\BIN\Cvtres.exe /machine:ix86 rsrc.res
  6. :over1
  7.  
  8. if exist %1.obj del Splash.obj
  9. if exist %1.exe del Splash.exe
  10.  
  11. G:\MASM32\BIN\Ml.exe /c /coff Splash.asm
  12. if errorlevel 1 goto errasm
  13.  
  14. if not exist rsrc.obj goto nores
  15.  
  16. G:\MASM32\BIN\Link.exe /SUBSYSTEM:WINDOWS Splash.obj rsrc.obj
  17. if errorlevel 1 goto errlink
  18.  
  19. dir Splash
  20. goto TheEnd
  21.  
  22. :nores
  23. G:\MASM32\BIN\Link.exe /SUBSYSTEM:WINDOWS Splash.obj
  24. if errorlevel 1 goto errlink
  25. dir %1
  26. goto TheEnd
  27.  
  28. :errlink
  29. echo _
  30. echo Link error
  31. goto TheEnd
  32.  
  33. :errasm
  34. echo _
  35. echo Assembly Error
  36. goto TheEnd
  37.  
  38. :TheEnd
  39.  
  40. pause
  41.  
  42.