echo off : :COPYRIGHT IBM CORPORATION, 1987 :ALL RIGHTS RESERVED : :This installs the DASDDRVR.SYS to C: : if not exist c:\config.sys goto doball if exist c:\dasddrvr.sys goto dobconly : :This is executed if either DASDDRVR.SYS or CONFIG.SYS do not exist on c:\, :it is assumed that the installation has not happened if either is true. : :doball copy a:\dasddrvr.sys c:\ if exist c:\config.sys goto dobcopy copy a:\dasddrvr.cfg c:\config.sys goto doend : :If DASDDRVR.SYS exists on c:\ and CONFIG.SYS exists then a blind :copy of DASDDRVR.SYS is done to c:\. It is assumed that CONFIG.SYS :contains the appropriate DEVICE=\DASDDRVR.SYS command. : :dobconly copy a:\dasddrvr.sys c:\ goto doend : :This concatenates the DEVICE=\DASDDRVR.SYS to the end of the existing :CONFIG.SYS file. Only happens if DASDDRVR.SYS does not exist in the :root directory. : :dobcopy copy c:\config.sys+a:\dasddrvr.cfg c:\ :doend echo Asennus on tehty :exit