home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Current Shareware 1994 January
/
SHAR194.ISO
/
helpfile
/
picterm.zip
/
SETUP.BAT
< prev
Wrap
DOS Batch File
|
1993-07-14
|
1KB
|
63 lines
@ECHO OFF
CLS
IF "%1" == "" GOTO NOPATH
:OK
CLS
ECHO.
ECHO This batch file will unzip the apropriate files to the approriate
ECHO directories, then allow you to run Picterm.
ECHO.
ECHO For further information please read the readme.1st file in this
ECHO directory.
ECHO.
PAUSE
IF NOT EXIST %1\NUL MD %1
PKUNZIP FILES.ZIP > NUL
COPY *.EXE %1 > NUL
COPY *.CFG %1 > NUL
COPY *.DOC %1 > NUL
COPY *.1ST %1 > NUL
COPY *.SLT %1 > nul
DEL *.EXE > NUL
DEL *.CFG > NUL
DEL *.DOC > NUL
DEL *.1ST > NUL
DEL *.SLT > NUL
IF NOT EXIST %1\PICTERM.EXE GOTO ERROR
GOTO MESSAGE
:NOPATH
ECHO.
ECHO.
ECHO You need to specify a path on the command line of this batch program,
ECHO please try again with something like this...
ECHO.
ECHO SETUP C:\TELIX\PICTERM
ECHO.
ECHO note that there is no trailing backslash.
ECHO.
GOTO END
:MESSAGE
CLS
ECHO.
ECHO Everything should be ok. For more information on setting up Picterm,
ECHO please read the doc file.
ECHO.
GOTO END
:ERROR
CLS
ECHO.
ECHO An error has occured, please unzip the archive FILES.ZIP manually and
ECHO read the file PICTERM.DOC for further instructions.
ECHO.
:END