home *** CD-ROM | disk | FTP | other *** search
/ The Games Machine 38 / ZGIDEMO.iso / wads / DUKE3D / FTWOAP.ZIP / FTWOAP.BAT < prev    next >
DOS Batch File  |  1996-08-07  |  2KB  |  61 lines

  1. rem =====================================
  2. rem MAP Launcher Batch File v1.0
  3. rem Feel free to use in your own programs
  4. rem =====================================
  5.  
  6. echo off
  7. cls
  8. echo Map Launcher Batch File v1.0 by MattCake (UK)
  9. echo =============================================
  10. echo.
  11. echo Scanning for necessary files...
  12. echo.
  13. if not exist ftwoapp1.map echo Can't find ftwoapp1.map
  14. if not exist ftwoapp2.map echo Can't find ftwoapp2.map
  15. if not exist ftwoap.con echo Can't find ftwoap.con
  16. if not exist ftwoap.art echo Can't find ftwoap.art
  17. if not exist ftwoap.dmo echo Can't find ftwoap.dmo
  18. echo.
  19. echo Backing up original user.con,demo1.dmo and tiles014.art files...
  20. copy /y user.con userbu.con
  21. copy /y demo1.dmo demo1bu.dmo
  22. if exist tiles014.art copy /y tiles014.art tilesbu.art
  23. echo Done.
  24. echo.
  25. echo Initializing new user.con, demo1.dmo and tiles014.art files...
  26. copy /y ftwoap.con user.con
  27. copy /y ftwoap.dmo demo1.dmo
  28. copy /y ftwoap.art tiles014.art
  29. echo Done.
  30. echo.
  31. echo Now ready to play, hope you enjoy From The Wing Of A Plane
  32. echo.
  33. echo By MattCake (UK), E-Mail 101502.1440@compuserve.com
  34. echo.
  35. pause
  36. cls
  37. duke3d
  38. echo off
  39. cls
  40. echo Restoring original user.con,demo1.dmo and tiles014.art files...
  41. copy /y userbu.con user.con
  42. copy /y demo1bu.dmo demo1.dmo
  43. if exist tilesbu.art copy /y tilesbu.art tiles014.art
  44. if NOT exist tilesbu.art erase tiles014.art
  45. echo Done.
  46. echo.
  47. echo Deleting Temporary Files...
  48. erase userbu.con
  49. erase demo1bu.dmo
  50. if exist tilesbu.art erase tilesbu.art
  51. echo Done.
  52. echo.
  53. echo Thanks for playing From The Wing Of A Plane
  54. echo.
  55. echo Please send comments to MattCake (UK) at 101502.1440@compuserve.com
  56. echo.
  57. echo Bye Bye
  58. echo.
  59.  
  60.  
  61.