home *** CD-ROM | disk | FTP | other *** search
/ The World of Computer Software / World_Of_Computer_Software-02-387-Vol-3of3.iso / r / reprtnr1.zip / INSTALL.BAT < prev    next >
DOS Batch File  |  1990-06-02  |  1KB  |  56 lines

  1. echo off
  2. cls
  3. echo.
  4. echo Welcome to Real Estate Partner's Hard Disk Installation Program!
  5. echo.
  6.      if exist %1:partner.exe goto :two
  7.     if "==%1" goto error 
  8.     if "==%2" goto error
  9.      goto :error
  10. :two
  11.      if %2==c goto :three
  12.      if %2==C goto :three
  13.      if %2==d goto :three
  14.      if %2==D goto :three
  15.      if %2==e goto :three
  16.      if %2==E goto :three
  17.      if %2==f goto :three
  18.      if %2==F goto :three
  19.      goto :error
  20. :three
  21.     %2:    
  22.      cd\
  23.      if not exist %2:\partner\*.* md %2:\partner
  24.      if not exist %2:\analyses\*.* md %2:\analyses
  25.      cd\partner
  26.      copy %1:\load.bat
  27. echo.
  28.      %1:
  29.      if exist %2:\partner\partner.exe goto :four
  30.      copy %1:partner.exe %2:
  31. :four
  32. echo.
  33. echo.
  34. echo Please Wait While Your Real Estate Partner Continues to Get Ready!
  35. echo.
  36.     %2:    
  37.      load %1 %2
  38.      goto :end
  39. :error
  40.    echo.
  41.    echo.
  42.    echo Please type the INSTALL command in the following format:
  43.    echo.
  44.    echo.      INSTALL Drive1 Drive2
  45.    echo.
  46.    echo       Drive1 is the program diskette.
  47.    echo.      Drive2 is the hard disk to install the files to.
  48.    echo.
  49.    echo For example, typing "INSTALL A C" will install Your Real Estate 
  50.    echo Partner from the product diskette in the A drive to the C drive
  51.    echo.
  52.    echo.
  53.    echo.
  54. :end
  55.    
  56.