echo off
cls
rem Medlin Accounting Shareware
rem This file will allow a user to run the Medlin software from a CD-ROM.
rem It will create a temporary sub-directory that will allow for running
rem the programs without going through installation.
rem
echo                         MEDLIN ACCOUNTING SHAREWARE
echo                                     *
echo               Winner of the inaugural SHAREWARE INDUSTRY AWARD
echo                    for BEST BUSINESS AND FINANCE SOFTWARE
echo                                     *
echo            Running this batch file will allow you to test our        
echo            accounting software WITHOUT going through installation.
echo            It will create a temporary sub-directory on your C:
echo            drive to use for data storage. At the end of your testing
echo            you may install MEDLIN, and delete the test data. Watch
echo            for the screen prompts.
rem
rem * TO INSTALL DIRECTLY, TYPE        INSTALL (path) 
rem   where path the name of the directory you wish to install to.
rem                                               
echo                                     *
echo                                     *
echo            These programs are very user friendly, the valid commands
echo            are listed on the lower portion of the screen at all times.
echo                                     *
echo              Try it now, install and read the instructions later!
echo                                     *
echo                   THANK YOU FOR SAMPLING MEDLIN SHAREWARE
echo                                     *
echo                                     *
pause
md c:\med-temp
lha e medlin c:\med-temp\
c:
cd c:\med-temp
medlin.exe
viewdoc.com
echo                         Type Y to delete TEST data.
echo                         Type N to save TEST data.
echo                         Then press enter.
echo                                     *
echo                                     *
echo           THIS WILL ONLY DELETE THE TEMPORARY DATA THAT WAS CREATED 
echo           BY THE MEDLIN PROGRAMS! If you are not sure you wish to 
echo           delete the data, choose N. The data is in the path 
echo                                C:\MED-TEMP
echo                                     *
cd c:\
echo on
del c:\med-temp\*.*
rd c:\med-temp