home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
SDN¹ Plus
/
SDN1_.cdr
/
sdn
/
other
/
pin_misc.sdn
/
INSTALL.BAT
< prev
next >
Wrap
DOS Batch File
|
1991-01-08
|
1KB
|
60 lines
ECHO OFF
CLS
IF NOT X%4X == XX GOTO OK
IF NOT X%2X == XX ECHO YOU ARE MISSING A PARAMETER. HERE'S AN EXPLANATION:
ECHO
This utility installs ZIP files from the A: or B: diskette drive.
ECHO
Format: from-drive:INSTALL zip-root-name from-drive to-disk to-directory
ECHO
Example: A:INSTALL A MYPROG C \TEST
ECHO
In the above example, the file MYPROG.ZIP would be installed on the C:
ECHO hard drive, in the TEST directory.
ECHO
For a list of ZIP files on your A: drive, enter the following command
ECHO at the DOS prompt: DIR A:*.ZIP
GOTO QUIT
:OK
ECHO INSTALLING %1:%2.ZIP TO %3:%4
ECHO
If this is not correct, press CTL-C
PAUSE
CLS
IF EXIST %3:\*.* GOTO OKDDR
ECHO
Can't log to drive %3:
GOTO X
:OKDDR
%3:
CD \
IF EXIST %1:%2.ZIP GOTO OKZIP
ECHO
Can't find %1:%2.ZIP
:X
ECHO
Are you sure it exists?
GOTO QUIT
:OKZIP
MD %4
CLS
CD %4
%1:PKUNZIP %1:%2
IF NOT EXIST HELPME.* GOTO DOGO
CLS
ECHO
We will now run a program named HELPME, which will
ECHO explain what this product is all about. HELPME can
ECHO also display or print the user manual, or help you
ECHO fill out a customer reply form.
PAUSE
HELPME
GOTO QUIT
:DOGO
COPY A:GO.EXE
GO
:QUIT