home *** CD-ROM | disk | FTP | other *** search
/ Shareware Gold 1 / The_Golden_ROM_Series_-_Shareware_Gold_Volume_1_Number_11_-_SK_89-301_-_1989.iso / LIB026 / INITHARD.BAT < prev    next >
DOS Batch File  |  1988-04-26  |  1KB  |  56 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 LANDLORD system and its own
  9. echo +  subdirectory on your hard disk.  It will overwrite existing
  10. echo +  LANDLORD 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 LANDLORD 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\landlord
  22. copy landfile.dbf %1\landlord\landlord.dbf
  23. copy ch.ntx %1\landlord\chartacc.ntx
  24. copy en.ntx %1\landlord\entrydat.ntx
  25. copy bu.ntx %1\landlord\building.ntx
  26. copy tr.ntx %1\landlord\transdat.ntx
  27. copy landlord.exe %1\landlord
  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 'LANDLORD' to start your program.
  37. echo +
  38. echo +
  39. echo +
  40. pause
  41. echo on
  42. %1
  43. cd %1\landlord
  44. landlord
  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.