echo off
if %1a == a goto takedir
cls
echo  This will install the PC-Estimator shareware ystem on hard
echo  disk %1 in a directory named PCSHARE.
echo  It will also add (files=20, buffers=24) lines to your
echo  Config.sys file in root directory. If this file does not exist,
echo  it will be created.
echo.
echo  Press Ctrl-C to abort, or ...
pause
echo.
echo  Creating PCSHARE directory and copying files...
echo.
md %1\pcshare
copy *.* %1\pcshare
c:
cd\
if not exist config.sys goto copycon
copy config.sys+%1\pcshare\config.sys
:copycon
if exist config.sys goto alldone
copy %1\pcshare\config.sys
:alldone
cls
%1
cd\pcshare
echo.
echo    ********************* Installation complete!!!!! *********************
echo.
echo    As a one-time procedure, please reboot your computer.
echo    This will make your configuration file effective.
echo.
echo    Each time you wish to run the PC-Estimator shareware system,
echo    first go to the PCSHARE hard disk directory where it is installed.
echo    Then type PCEST to start the system.
echo.
echo    Thanks for using PC-Estimator shareware!
echo    Please consider to register and become a user of the full
echo    registration version of PC-Estimator.
echo.
pause
goto quit
:takedir
echo  Syntax: "INSTALL x:" where x represents your hard disk.
echo      For example, type INSTALL C: to install on drive C.
pause
:quit
 
