home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Exposé
/
Expose.iso
/
install.bat
< prev
next >
Wrap
DOS Batch File
|
1993-10-04
|
4KB
|
111 lines
@ECHO OFF
ECHO OFF
CLS
ECHO WELCOME TO THE NEW FATDOG CD-ROM!
ECHO.
ECHO.
ECHO TO INSTALL THE CD-ROM PLEASE FOLLOW THE INSTRUCTIONS:
IF (%1)==() GOTO ERROR
IF (%2)==() GOTO ERROR
ECHO
ECHO ┌──────────────────────────────────────────────────────────┐
ECHO │ FATDOG CD-ROM INSTALLATION │
ECHO ├──────────────────────────────────────────────────────────┤
ECHO │ │
ECHO │ You have choosen a CD-ROM drive of %1 and a target │
ECHO │ drive of %2. (If this is not correct please press │
ECHO │ 'n' in answer of the question below.) │
ECHO │ │
ECHO │ CD-ROM Drive: %1 Install To: %2 │
ECHO │ │
ECHO │ EXAMPLE - INSTALL D C │
ECHO │ ( DO NOT type the : ) │
ECHO │ │
ECHO │ The Example installs from a CD-ROM drive of D to │
ECHO │ a local C drive. │
ECHO │ A sub-directory named FATPIC will be created on drive │
ECHO │ %2. The Fatdog program files will then be loaded into │
ECHO │ the FATPIC sub-directory. │
ECHO │ │
ECHO │ │
ECHO └──────────────────────────────────────────────────────────┘
ECHO.
ASK Is this information correct?
if not errorlevel 1 goto ERROR
echo
echo Installing Fatdog Program...
MD %2:\FATPIC
XCOPY %1:\FATDOG.* %2:\FATPIC
XCOPY %1:\PICVIEW.EXE %2:\FATPIC
XCOPY %1:\PIC.EXE %2:\FATPIC
XCOPY %1:\OPEN.GIF %2:\FATPIC
XCOPY %1:\PICEM.* %2:\FATPIC
XCOPY %1:\%1PLAY\*.BAT %2:\FATPIC
GOTO DONE
:dfull
CLS
ECHO.
ECHO.
ECHO
ECHO
ECHO ┌──────────────────────────────────────────────────────────┐
ECHO │ !!! AN ERROR HAS OCCURRED DURING INSTALLATION !!! │
ECHO. │ │
ECHO │ Please make sure that you have specified a Hard Disk │
ECHO │ as the destination and there is at least 600,000 bytes │
ECHO │ free space. │
ECHO └──────────────────────────────────────────────────────────┘
ECHO.
ECHO.
GOTO END
:ERROR
ECHO.
ECHO
ECHO
ECHO ┌──────────────────────────────────────────────────────────┐
ECHO. │ PLEASE INSTALL FATDOG CD AS EXAMPLE! │
ECHO │ │
ECHO │ EXAMPLE: ┌───── CD-ROM DRIVE: │
ECHO │ INSTALL D C │
ECHO │ └───DESTINATION DRIVE: │
ECHO │ │
ECHO │ ( make sure not to type the : ) │
ECHO └──────────────────────────────────────────────────────────┘
ECHO.
ECHO.
ECHO.
ECHO.
GOTO END
:Done
CLS
ECHO.
ECHO.
ECHO.
ECHO.
ECHO.
ECHO ┌──────────────────────────────────────────────┐
ECHO │ Installation complete! │
ECHO │ Type GO256 [Enter] for 8-bit stills! │
ECHO │ Type GO [Enter] for 24-bit stills! │
ECHO └──────────────────────────────────────────────┘
ECHO.
ECHO.
ECHO.
ECHO.
ECHO.
%2:
cd \FATPIC
ECHO.
ECHO.
ECHO.
ECHO.
Echo Please Read FATDOG.TXT file for Help!
ECHO.
ECHO.
ECHO TYPE GO [ENTER] FOR 24-BIT STILLS
ECHO TYPE GO256 [ENTER] FOR 8-BIT STILLS
ECHO TYPE PIC [ENTER] FOR PICEM
ECHO.
ECHO.
:END