@echo off IF NOT EXIST include\stdio.h GOTO notbc ECHO Installing CSLIB system MKDIR cslib CD cslib COPY a:readme CD ..\include IF NOT EXIST dosgraph.h RENAME graphics.h dosgraph.h ECHO Installing include files: COPY a:include\*.* CD ..\cslib MKDIR dos CD dos ECHO Installing DOS version: COPY a:dos CD .. MKDIR windows CD windows ECHO Installing Windows version: COPY a:windows CD ..\.. ECHO Installation complete ECHO NOTE: Before compiling the DOS version, be sure to substitute ECHO the correct path for the BGI libraries in the graphics.c file. GOTO end :notbc ECHO Error: This file must be executed in the Borland compiler directory :end