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

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