Category : HD Utilities
Archive   : RS_TOOLS.ZIP
Filename : INSTALL.BAT

 
Output of file : INSTALL.BAT contained in archive : RS_TOOLS.ZIP
ECHO OFF
MODE C080
CLS
ECHO *************************************************************************
ECHO * Utility to Install the MicroFirm Toolkit *
ECHO * *
ECHO * Syntax: "INSTALL path" *
ECHO * where: "path" is the name of the directory where the *
ECHO * Toolkit utilities will reside. *
ECHO *************************************************************************
ECHO

MD %1 >NUL
IF NOT EXIST AT.COM GOTO ERROR1
AT %1
IF ERRORLEVEL 1 GOTO ERROR2
SET PATH=%PATH%;%1

ECHO *************************************************************************
ECHO * By adding the directory name to the end of the DOS path, a hazard *
ECHO * exists that other generic utilities of the same name will be executed *
ECHO * instead of the Toolkit utilities if they appear in a directory which *
ECHO * precedes the Toolkit's in the PATH specification. *
ECHO *************************************************************************
ECHO

IF NOT EXIST MV.COM GOTO ERROR3
IF NOT EXIST CP.COM GOTO ERROR4

ECHO Installing MicroFirm Toolkit...
cp mv.com %1 /o
cp cp.com %1 /o
cp mb.com %1 /o
cp cb.com %1 /o
cp rm.com %1 /o
cp dr.com %1 /o
cp at.com %1 /o
cp aa.com %1 /o
cp du.com %1 /o
cp lynx.com %1 /o
cp pr.com %1 /o
cp gobble.com %1 /o
cp rgrep.com %1 /o
cp head.com %1 /o
cp diff.com %1 /o
cp trim.com %1 /o
cp wc.com %1 /o
cp chmod.com %1 /o
cp touch.com %1 /o
cp swap.com %1 /o
cp split.com %1 /o
cp tee.com %1 /o
cp pwd.com %1 /o
cp timex.com %1 /o
cp rescol.bat %1 /o
cp addpath.bat %1 /o
cp pset*.bat %1 /o
cp toolkit.doc %1 /o
cp read.me %1 /o
cp install.bat %1 /o

ECHO MicroFirm Toolkit successfully installed!
GOTO EXIT

:ERROR1
ECHO Cannot find AT.COM!!! Possibilities:
GOTO ERRORX

:ERROR2
ECHO Cannot ATtach to %1!!! Possibilities:
ECHO
ECHO 1. %1 is a pre-existing file name.
ECHO 2. %1 contains an illegal or non-existant drive or path specification.
GOTO EXIT

:ERROR3
ECHO Cannot find MV.COM!!! Possibilities:
GOTO ERRORX

:ERROR4
ECHO Cannot find CP.COM!!! Possibilities:
:ERRORX
ECHO
ECHO 1. RS_TOOLS.ARC has been downloaded and not fully unARCed.
ECHO 2. You are not attached to the drive where the Toolkit diskette is
ECHO  located
GOTO EXIT

:EXIT


  3 Responses to “Category : HD Utilities
Archive   : RS_TOOLS.ZIP
Filename : INSTALL.BAT

  1. Very nice! Thank you for this wonderful archive. I wonder why I found it only now. Long live the BBS file archives!

  2. This is so awesome! 😀 I’d be cool if you could download an entire archive of this at once, though.

  3. But one thing that puzzles me is the “mtswslnkmcjklsdlsbdmMICROSOFT” string. There is an article about it here. It is definitely worth a read: http://www.os2museum.com/wp/mtswslnk/