REM This file is called by a temporary version of linux.bat.
REM The correct linux.bat file is in the linux directory and
REM is called lsav.bat.

REM Make sure we know where we are.
c:
cd \

REM First, we make sure the hard disk is healthy.
chkdsk /F /B

REM If there were any problems, *.chk files will have been
REM  created in the root directory.  Move them to a better location,
REM  where they can be retrieved if they have something critical.
REM There is plenty of HD space, so they won't cause a problem as long
REM  as they aren't left in the root directory.
REM Note that this won't do anything for cross-linked files, but will
REM  warn of their existence.
mkdir chkdir
copy *.chk chkdir
del *.chk

REM By now, we know that the disk is clean.  We ASSUME that all of the
REM critical files are healthy -- and that if they have been removed
REM we know.  All Touch 1 files were checked for health during 
REM installation, and they are the most likely to have had problems.

REM We now replace our temporary linux.bat file.
copy c:\linux\lsav.bat c:\linux\linux.bat
cd \linux

REM Go into linux.  We'll never execute this batch file again.
linux.bat
