home *** CD-ROM | disk | FTP | other *** search
/ Powerdrive 1997 February / POWERDRIVE0297.ISO / share / rollen / nethack / na.bat < prev    next >
DOS Batch File  |  1995-03-22  |  396b  |  21 lines

  1. @echo off
  2. chrset
  3. set NETHACKOPTIONS=name:Indy-A
  4. if not exist indy.sav goto restore
  5. goto run
  6. :restore
  7. if not exist sav\indy.sav goto run
  8. Echo Restoring Character File...
  9. copy sav\indy.sav > nul
  10. :run
  11. nethack %1 %2 %3 %4 %5 %6 %7 %8 %9
  12. pause
  13. mode co80
  14. if exist indy.sav goto backup
  15. goto end
  16. :backup
  17. Echo Backing Up Character File
  18. copy indy.sav sav > nul
  19. :end
  20. set NETHACKOPTIONS=
  21.