home *** CD-ROM | disk | FTP | other *** search
/ Arcade Explosion / ae.mdf / arcexp / descent / levels / utils / devil10c / devil.bat < prev    next >
DOS Batch File  |  1995-04-25  |  466b  |  20 lines

  1. @echo off
  2. set go32=driver drivers/vesadrv.vdr
  3. copy >nul levels\tmpdevil.msn .. 
  4. d %1 %2
  5. :loop
  6. if errorlevel 2 goto done
  7. copy >nul levels\tmpdevil.rdl ..\tmpdevil.rdl 
  8. cd ..
  9. call descent
  10. cd devil
  11. d tmpdevil
  12. goto loop
  13. :done
  14. if errorlevel 1 goto ok
  15. echo Devil ended with an error. Here's the file devil.err:
  16. type devil.err |more
  17. :ok
  18. if exist levels\tmpdevil.rdl del levels\tmpdevil.rdl
  19. if exist ..\tmpdevil.rdl del ..\tmpdevil.rdl
  20. del ..\tmpdevil.msn