ECHO OFF IF "%1"=="" GOTO MESSAGE IF NOT EXIST SETUPSND.EXE GOTO SETUPSND IF NOT EXIST MAUIDIAG.EXE GOTO MAUIDIAG IF NOT EXIST DIAGMAUI.MOT GOTO DIAGMAUI IF NOT EXIST OSMAUI.MOT GOTO OSMAUI IF NOT EXIST WFDOS.EXE GOTO WFDOS MD %1 COPY SETUPSND.EXE %1 COPY MAUIDIAG.EXE %1 COPY DIAGMAUI.MOT %1 COPY OSMAUI.MOT %1 COPY WFDOS.EXE %1 GOTO EXIT :MESSAGE ECHO OFF ECHO Usage: DOSINST [targetdir] e.g. DOSINST C:\MAUI ECHO Copies the 5 files into targetdir ECHO Current directory must be the source directory GOTO EXIT :SETUPSND ECHO OFF ECHO Did not find SETUPSND.EXE in current directory ECHO Change directory to the diskette that contains Maui disk GOTO EXIT :MAUIDIAG ECHO OFF ECHO Did not find SETUPSND.EXE in current directory ECHO Change directory to the diskette that contains Maui disk GOTO EXIT :DIAGMAUI ECHO OFF ECHO Did not find DIAGMAUI.MOT in current directory ECHO Change directory to the diskette that contains Maui disk GOTO EXIT :OSMAUI ECHO OFF ECHO Did not find OSMAUI.MOT in current directory ECHO Change directory to the diskette that contains Maui disk GOTO EXIT :WFDOS ECHO OFF ECHO Did not find WFDOS.EXE in current directory ECHO Change directory to the diskette that contains Maui disk GOTO EXIT :EXIT