home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
CICA 1992 November
/
CICA_MS_Windows_CD-ROM_Walnut_Creek_November_1992.iso
/
win3
/
icons
/
icnman11
/
install.bat
< prev
next >
Wrap
DOS Batch File
|
1991-03-28
|
1KB
|
51 lines
:begin
ECHO OFF
ECHO ===================================
ECHO ICON MANAGER - Installation Utility
ECHO ===================================
ECHO
IF "%1"=="" GOTO nodrive
SET IMPATH=ICONS
IF "%2"=="" GOTO nopath
SET IMPATH=%2
:nopath
IF NOT EXIST %1\%IMPATH%\NUL GOTO cont1
ECHO The sub-directory %1\%IMPATH% exists. Press Ctrl-C to abort installation.
PAUSE
GOTO cont2
:cont1
MD %1\%IMPATH% >NUL
:cont2
IF NOT EXIST ICONMAN.EXE GOTO wrongdir
ECHO Installing Icon Manager to %1\%IMPATH%
ECHO Copying program file...
COPY ICONMAN.EXE %1\%IMPATH% >NUL
ECHO Copying support files...
COPY ICONMAN.WRI %1\%IMPATH% >NUL
COPY 32X32.BMP %1\%IMPATH% >NUL
ECHO Copying text files...
COPY ORDER.TXT %1\%IMPATH% >NUL
COPY README.1ST %1\%IMPATH% >NUL
IF NOT EXIST *.ICA GOTO cont3
ECHO Copying icon archive files...
COPY *.ICA %1\%IMPATH% >NUL
:cont3
ECHO
ECHO Installation complete!
GOTO end
:wrongdir
ECHO Cannot find file ICONMAN.EXE. Please check to make sure that the
ECHO current directory is set to the floppy drive containing the
ECHO installation diskette.
GOTO end
:nodrive
ECHO Please enter the disk drive on the command line. (e.g., INSTALL C:)
ECHO
ECHO You may additionally specify a sub-directory (e.g., INSTALL D: MYDIR),
ECHO otherwise the installation will be attempted using the sub-directory
ECHO name "ICONS".
:end
ECHO
ECHO End INSTALL