home *** CD-ROM | disk | FTP | other *** search
/ Shareware Overload / ShartewareOverload.cdr / busi / rentals.zip / INITHARD.BAT < prev    next >
DOS Batch File  |  1988-12-18  |  1KB  |  57 lines

  1. echo off
  2. cls
  3. rem inithard.bat
  4. if "%1" == "" goto nohard
  5. echo +
  6. echo +
  7. echo +
  8. echo +  This program will create a new RENTALS system and its own
  9. echo +  subdirectory on your hard disk.  It will overwrite existing
  10. echo +  RENTALS files that are already installed on the hard disk.
  11. echo +  If you want to install a second system copy all the files
  12. echo +  on the existing RENTALS subdirectory to another subdirectory
  13. echo +  and then run this program.
  14. echo +
  15. echo +  To exit to DOS type Ctrl-C and then 'Y', else
  16. echo +
  17. echo +
  18. echo +
  19. pause
  20. echo on
  21. md %1\RENTALS
  22. copy RENTFILE.dbf %1\RENTALS\RENTALS.dbf
  23. copy ch.ntx %1\RENTALS\chartacc.ntx
  24. copy en.ntx %1\RENTALS\entrydat.ntx
  25. copy bu.ntx %1\RENTALS\building.ntx
  26. copy tr.ntx %1\RENTALS\transdat.ntx
  27. copy RENTALS.exe %1\RENTALS
  28. echo off
  29. cls
  30. echo +
  31. echo +
  32. echo +
  33. echo +  Answer 'C' or 'D' (your hard drive) to the upcoming Data Disk question.
  34. echo +
  35. echo +
  36. echo +  From now on use 'RENTALS' to start your program.
  37. echo +
  38. echo +
  39. echo +
  40. pause
  41. echo on
  42. %1
  43. cd %1\RENTALS
  44. RENTALS
  45. echo off
  46. goto finis
  47. :nohard
  48. echo +
  49. echo +
  50. echo +
  51. echo +  You must enter INITHARD C: or INITHARD D: from the DOS prompt.
  52. echo +
  53. echo +
  54. echo +
  55. :finis
  56.  
  57.