home *** CD-ROM | disk | FTP | other *** search
- @echo off
- cls
- echo.
- echo.
- echo IBM OS/2 2.0 Presentation
- echo Version 1.0
- echo.
- echo This program requires 2.5Mb of available hard disk space
- echo to install.
- echo.
- echo The program requires VGA graphics and 490K of available RAM.
- echo.
- if "%1" =="" goto param
- if "%2" =="" goto param
- goto ok
- :param
- echo The IBM OS/2 2.0 Presentation will be installed to
- echo a directory called \OS2PRES on your hard disk.
- echo.
- echo To install the IBM OS/2 2.0 Presentation, please
- echo give the command INSTALL [src_drive] [dest_drive]
- echo.
- echo For example, to install from the A: floppy drive
- echo to the C: drive, give the command:
- echo.
- echo INSTALL A: C:
- echo.
- goto end
- :ok
- echo Ready to install from %1 to %2\OS2PRES.
- echo Please press Ctrl-C now to abort or
- pause
- if not exist %1os2_2.exe goto err1
- %2
- md \OS2PRES
- cd \OS2PRES
- echo test >>t__est.tst
- if not exist %2\OS2PRES\t__est.tst goto err4
- del t__est.tst
-
- %1os2_2.exe
- if ERRORLEVEL 1 goto err3
- echo.
- echo Installation Complete.
- echo.
- echo Type
- echo IBM
- echo to run the IBM OS/2 2.0 Presentation
- goto end
-
- :err1
- echo Error: Can not find the installation file %1OS2_2.exe.
- goto end
- :err2
- echo Error: Could not create directory %2.
- goto end
- :err3
- echo
- echo Error: Problem expanding files; installation not completed.
- goto end
- :err4
- echo Error: Could not create directory %2.
- del t__est.tst
- goto end
- :end
-
-
-