cls
echo ÿ
echo ÿ
echo ÿ
echo             Remove the LEWP Master Disk from Drive A and replace it
echo             with the disk you normally use to boot your system.
echo ÿ
echo             This can be your DOS disk or another program disk. 
echo             If you'll be using LEWP in conjunction with another program,
echo             use that program's boot disk.
echo ÿ
echo ÿ
echo ÿ
pause          
copy a:print.exe b:/v >nul
copy a:print.com b:/v >nul
if not exist a:config.sys goto noconfig
cls
echo ÿ
echo ÿ
echo             Your CONFIG.SYS file is displayed below. 
echo             ------------------------------------------ 
copy a:config.sys con: >nul 
echo                                                                                  ---------------------------------------
echo Look for a statement that describes 
echo the number of files, such as FILES = 10.
echo ÿ
echo If the number of files is 20 or higher, press Y. 
echo ÿ
echo If no files are mentioned or the number of files
echo is 19 or less, press N. 
echo ÿ
echo ÿ
b:query > nul  
if errorlevel 1 goto good
copy a:config.sys + b:config.lep b:config.sys >nul
goto done
:good
copy a:config.sys b:/v >nul
goto done
:noconfig
copy b:config.lep b:config.sys >nul
:done		
if not exist b:print.* goto recopy
:doneall
cls
echo ÿ
echo ÿ
echo ÿ
echo             You now have a working copy of the LEWP Master Disk.
echo             Follow the PRINSTAL procedure to prepare your working
echo             copy of the Master Disk for use with your printer.
echo ÿ
echo             Note: Use the disk labeled "Working Copy of LEWP" 
echo                   to reboot the system before using LEWP. 
echo ÿ
echo ÿ
echo ÿ
goto end
:recopy
cls
echo ÿ
echo ÿ
echo ÿ
echo                    Remove the boot disk from Drive A
echo                    and replace it with your DOS disk. 
echo ÿ
echo ÿ
echo ÿ
pause
copy a:print.com b:/v >nul
copy a:print.exe b:/v >nul
if not exist b:print.* goto abort
goto doneall
:abort
cls
echo ÿ
echo ÿ
echo ÿ
echo   Unable to find PRINT.COM (PRINT.EXE in some DOS versions) 
echo ÿ  on your DOS disk.
echo ÿ
echo   Repeat the installation procedure.
echo   When you're asked to insert your DOS disk, please use
echo   your original DOS disk.
echo ÿ
echo ÿ
echo ÿ
echo ÿ
:end 
del b:config.lep>nul
del b:query.exe>nul
b:i3
