home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Media Share 9
/
MEDIASHARE_09.ISO
/
diags
/
rtdmon12.zip
/
INSTALL.BAT
< prev
next >
Wrap
DOS Batch File
|
1992-07-03
|
6KB
|
121 lines
@echo off
cls
if %1a == a goto E0
if %2a == a goto E0
if not exist %1\RTDMON.EXE goto e0
if not exist %1\RTDMON.ICO goto nothere
if not exist %1\RT-PIF.DVP goto nothere
if not exist %1\RTDMON.PIF goto nothere
if not exist %1\RTDMON12.DOC goto nothere
if not exist %1\VENDOR.DOC goto nothere
if not exist %1\ORDER.FRM goto nothere
echo ╔══════════════════════════════════════════════════════════════════════════╗
echo ║ ║
echo ║ ║
echo ║ Olsen's Real Time Disk Monitor V1.2 Installation ║
echo ║ ║
echo ║ ║
echo ║ This installation will install RTDMON onto the directory %2\RTDMON. ║
echo ║ You MUST have all the uncompressed files that came in the RTDMON12.??? ║
echo ║ on the %1 drive and/or the directory you have specified. ║
echo ║ ║
echo ║ This will install RTDMON from %1 to %2 ║
echo ║ ║
echo ║ If you don't want to install Olsen's Real Time Disk Monitor Now, press ║
echo ║ Ctrl-Break. ║
echo ║ ║
echo ║ ║
echo ╚══════════════════════════════════════════════════════════════════════════╝
pause
echo Creating directory %2\RTDMON
if not exist %2\RTDMON\*.* goto G0
echo There is already a %2\RTDMON directory on drive %2\. If you don't want to
echo install Olsen's Real Time Disk monitor in that directory, press Ctrl-Break.
echo Otherwise, press space.
pause
goto G2
:G0
md %2\RTDMON
:G2
:2
echo Copying RTDMON now...
copy %1\*.* %2\RTDMON
if not exist %2\RTDMON\RTDMON.exe goto E1
if not exist %2\RTDMON\RTDMON.ICO goto E1
if not exist %2\RTDMON\RT-PIF.DVP goto E1
if not exist %2\rtdmon\RTDMON.PIF goto e1
if not exist %2\RTDMON\RTDMON12.DOC goto E1
if not exist %2\RTDMON\VENDOR.DOC goto E1
if not exist %2\RTDMON\ORDER.FRM goto E1
%2
cd\RTDMON
del install.bat
:done
cls
echo ----------======== READ THIS!! READ THIS!! READ THIS!! ========-------------
echo This is NOT included in the documentation, so please read......
echo ----------------------------------------------------------------------------
echo Included in this disk is a DVP, a PIF, and an ICON. The DVP is for DV 2.42.
echo The PIF and the ICON are for Windows 3.1. Both the PIF and the DVP are setup
echo for C:\RTDMON\RTDMON.EXE.If RTDMON.EXE is on a different drive or directory
echo other than the default, you will have to make changes to them.
echo ****************************************************************************
echo NOTE:RTDMON must be loaded in memory before running DV, Windows, or any other
echo multi-taskers.
echo ----------------------------------------------------------------------------
echo Olsen's Real Time Disk Monitor is now installed on your destination disk.
echo Please read the documentation before using RTDMON, It will help you alot!!
echo For Information on registering, see %2\RTDMON\ORDER.FRM.
goto D2
:NOTHERE
echo !! The %1\ drive does not have all the files in it from the RTDMON archive !!
echo (you are missing one or more of the files included in the original archive that
echo we sent out..)
echo Please extract them all on to a disk and reinstall. If it does not install
echo correctly again, please contact us at:
echo -------------------------------------------
echo Jim Olsen
echo PO BOX 1291
echo Naugatuck, CT. 06770.
echo -------------------------------------------
pause
goto ed
:E0
echo ╔══════════════════════════════════════════════════════════════════════════╗
echo ║ Olsen's Real Time Disk Monitor V1.2 Installation ║
echo ║ ║
echo ║ Instructions: ║
echo ║ To install Olsen's Real Time Disk Monitor, you must enter the ║
echo ║ drive containing the files, and/or the directory you are installing ║
echo ║ FROM, and the drive which you are installing TO. ║
echo ║ ║
echo ║ For Example: ║
echo ║ If you are installing from floppy drive A: to hard drive C:, enter: ║
echo ║ ║
echo ║ INSTALL A: C: (You need the colon after the drive letter!) ║
echo ║ ║
echo ║ If installing from floppy drive B: to hard drive C:, then enter: ║
echo ║ ║
echo ║ INSTALL B: C: ║
echo ║ ║
echo ║ A subdirectory named \RTDMON will be created on your hard drive. ║
echo ╚══════════════════════════════════════════════════════════════════════════╝
pause
goto exitit
:E1
echo Installation Error: Perhaps there isn't enough space on your destination
echo disk. The Real Time Disk Monitor requires 105,000 bytes free space.
echo Or maybe you have spelled the directory wrong, or you might not have all
echo the files included in the archive in the directory you have specified.
pause
:ED
cls
echo The Real Time Disk Monitor was not installed correctly.
goto exitit
:D2
echo Installation Ended..... Have Fun!
:EXITIT