home *** CD-ROM | disk | FTP | other *** search
/ Shareware 1 2 the Maxx / sw_1.zip / sw_1 / BUSI / ITRAK10.ZIP / NEWSTART.BAT < prev    next >
DOS Batch File  |  1992-03-15  |  709b  |  34 lines

  1. : * This batch will delete All data and index files
  2. : * supplied with the program for testing purposes.
  3. : ***************************************************
  4. @echo off
  5. if not exist *.dat goto msg1
  6. del *.dat
  7. :dk
  8. if not exist *.k* goto msg2
  9. del *.k*
  10. goto done
  11. :msg1
  12. echo   No Data Files Found.........
  13. goto dk
  14. :msg2
  15. echo   No Index Files Found........
  16. goto nf
  17. :done
  18. echo:
  19. echo   All data and index files deleted.
  20. echo   When you start up Invoice Tracker again
  21. echo   the files will be re-built, and ready for
  22. echo   new information.
  23. echo:
  24. pause
  25. goto end
  26. :nf
  27. echo:
  28. echo  No files found....They will be re-built
  29. echo  when you Run Invoice Tracker again.
  30. echo:
  31. pause
  32. goto end
  33. :end
  34.