home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Media Share 9
/
MEDIASHARE_09.ISO
/
dbase
/
fwkcs120.zip
/
GETLOOK.BAT
< prev
next >
Wrap
DOS Batch File
|
1993-05-28
|
2KB
|
76 lines
@echo off
cls
echo - Part of FWKCS(TM) Contents_Signature System, Version 1.20.
echo - (C)Copyright Frederick W. Kantor 1989-1993. All rights reserved.
echo -
echo - Your use of the FWKCS(TM) Contents_Signature System is at solely your own
echo - risk. For safety, please have proper backups of your files.
echo -
echo - GETLOOK.BAT to get the remote Lookup option without installing the
echo - FWKCS(TM) Contents_Signature System;
echo - for use in the same directory with FWKCS.120 and FWKCS_TM.120.
echo -
echo - Usage:
echo -
echo - GETLOOK "<enter>"
if "%1" == "/*" goto end0
echo -
echo - To quit, press Ctrl+C, then y
echo -
pause
if not exist fwkcs.120 goto nd
if not exist fwkcs_tm.120 goto cm
ren fwkcs_tm.120 fwkcs_tm.com > nul
fwkcs_tm < fwkcs.120 >fwkcstmp.120
if errorlevel 1 goto fb
ren fwkcs_tm.com fwkcs_tm.120 > nul
pkunzip -o fwkcstmp.120 fwkcs.exe fwkcs120.h0? fwkcs120.ref lookup.bat > nul
if errorlevel 51 goto fz
if errorlevel 50 goto ns
if errorlevel 1 goto fz
pkunzip -o fwkcstmp.120 rcrosref.bat lookup.doc lookcref.blt register.doc register.frm > nul
if errorlevel 51 goto fz
if errorlevel 50 goto ns
if errorlevel 1 goto fz
goto end
:ns
echo -
echo - There is apparently not enough space here for me to work in...
echo -
echo - After you have provided more space here, or moved my files to
echo - another drive with enough space,
goto delbad
:fz
echo -
echo - Error getting files.
:delbad
if exist fwkcs.exe del fwkcs.exe > nul
if exist fwkcs120.h0? del fwkcs120.h0? > nul
if exist lookup.bat del lookup.bat > nul
if exist rcrosref.bat del rcrosref.bat > nul
if exist lookup.doc del lookup.doc > nul
if exist lookcref.blt del lookcref.blt > nul
if exist register.doc del register.doc > nul
goto try
:fb
ren fwkcs_tm.com fwkcs_tm.120 > nul
echo -
echo - FWKCS.120 appears defective or incompatible. Execution aborted.
:try
echo -
echo - Please clean up, and try again. See README.TXT.
goto end0
:cm
echo -
echo - I need FWKCS_TM.120.
echo -
echo - I quit!
goto end0
:nd
echo -
echo - Nothing to do!
:end0
echo -
:end
if exist fwkcstmp.120 del fwkcstmp.120 > nul