@REM  //***************************************************************************
@REM  // Copyright:
@REM  //         UNPUBLISHED AND CONFIDENTIAL. COPYRIGHT EATON CORPORATION, CREATED
@REM  //         1998, ALL RIGHTS RESERVED.  NOT TO BE REPRODUCED, DISSEMINATED,
@REM  //         TRANSFERRED, OR USED WITHOUT THE PRIOR WRITTEN CONSENT OF EATON
@REM  //         CORPORATION.
@REM  //--------------------------------------------------------------------------
@REM  // Project:     CommTool
@REM  // File:        install.bat
@REM  // Description: Customer installation script for the SDT CommTool
@REM  // Modification History:
@REM  //    2/25/98  Created initial revision.
@REM  //***************************************************************************
@echo.
@if .%1==. goto :usage
@if NOT EXIST A:\install.bat goto tryb
A:
@goto creatdirs
:tryb
@if NOT EXIST B:\install.bat goto error
B:
:creatdirs
md %1\EATON
md %1\EATON\INCLUDE
md %1\EATON\EXAMPLES
md %1\EATON\DOC
md %1\EATON\LIB
copy *.h %1\EATON\INCLUDE
copy *.lib %1\EATON\LIB
copy *.exe %1\EATON\LIB
copy *.doc %1\EATON\DOC
copy *.ini %1\EATON\EXAMPLES
%1\EATON\LIB\CSLIBS.EXE
@echo.
%1
@echo Communications Tool installation completed.
@echo.
@goto end
:error
@echo ERROR!!! Neither A nor B drive has the EATON SDT CommTool disk inserted.
@echo          please insert that 3 & 1/2 inch floppy disk and reenter INSTALL.
@goto end
:usage
@echo. 
@echo Usage:: INSTALL [target drive]
@echo.
@echo         where [target drive] is the drive letter of the hard drive
@echo                              which to install the CommTool software.
@echo.
@echo.
:end
@echo.
@echo End CommTool Install.
