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

  1. echo off
  2. cls
  3. echo.
  4. echo This program will remove Your Real Estate Partner from the hard disk.
  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. echo.
  22.      %2:
  23.      cd\partner
  24.      %1:
  25.      if not exist %2:\partner\partner.exe goto :next
  26.      erase %2:\partner\partner.exe goto :next
  27. echo.
  28. echo.
  29. :next
  30. :four
  31.    echo.
  32. echo.
  33.      clean %1: %2:
  34.      goto :end
  35. :error
  36.    echo.
  37.    echo.
  38.    echo Please type the REMOVE command in the following format:
  39.    echo.
  40.    echo.      REMOVE Drive1 Drive2
  41.    echo.
  42.    echo       Drive1 is the program diskette.
  43.    echo       Drive2 is the hard disk drive with Your Real Estate Partner
  44.    echo.
  45.    echo For example, typing "REMOVE A C" will remove Your Real Estate
  46.    echo Partner from the hard disk or C drive and reset the product diskette
  47.    echo.
  48.    echo.
  49.    echo.
  50. :end
  51.