home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Monster Media 1993 #2
/
Image.iso
/
clipper
/
xdot2.zip
/
INSTALL.BAT
next >
Wrap
DOS Batch File
|
1993-07-26
|
1KB
|
64 lines
@echo off
cls
echo xDot Clipper Interpreter Installation
if %1. == . goto usage
if %2. == . goto usage
if not exist %1xdot2.exe goto badsrc
if exist %2\nul goto next
md %2
if not exist %2\nul goto baddest
:next
echo .
echo Installing xDot Clipper Interpreter from %1 to %2...
%1xdot2 %2
if errorlevel==0 goto src
echo Error installing xDot Clipper Interpreter!
goto outahere
:src
if not exist %2\xdotsrc.exe goto done
%2\xdotsrc %2 /d
del %2\xdotsrc.exe
if errorlevel==0 goto done
echo Error installing xDot Clipper Interpreter!
goto outahere
:badsrc
echo Bad source drive! (Where are you running this from?!?)
goto usage
:baddest
echo Bad target directory!
goto usage
:usage
echo
echo Usage:
echo {source drive}:INSTALL {source drive}: {target directory}
echo
echo where
echo {source drive} = Drive containing xDot diskette.
echo {target directory} = Directory on current drive where xDot
echo is to be installed. If the directory does
echo not exist it will be created.
echo
echo EXAMPLE: A:INSTALL A: C:\XDOT
echo
echo This will install xDot from the diskette in drive A: to the
echo XDOT directory on drive C:.
goto outahere
:done
echo Done!
cls
echo xDot Clipper Interpreter Installation Complete
echo Type "XD" from the target directory to begin.
echo.
:outahere