home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Current Shareware 1994 January
/
SHAR194.ISO
/
modem
/
fwklu123.zip
/
GETLOOK.BAT
< prev
next >
Wrap
DOS Batch File
|
1993-09-20
|
4KB
|
133 lines
@echo off
cls
if exist register.key goto rk
echo -
echo -
echo - If you registered FWKCS(TM) Version 1.19 or later, or if you
echo - registered FWKLU(TM) Version 1.22 or later, please copy your
echo - registration keyfile into this directory, and name the
echo - keyfile REGISTER.KEY. Then restart this GETLOOK program.
echo -
echo - If you do not have an FWKCS registration key, please make sure
echo - that your computer system's date is set to today's date.
echo -
echo -
echo - To stop this program, press Ctrl+C, then y
echo -
pause
cls
:rk
echo -
echo - Your use of this software is at solely your own risk.
echo - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
echo -
echo - This software is intended for use under DOS 3.30 or later, or in a suitable
echo - DOS session under a multitasking system (including IBM OS/2 2.0 or later).
echo -
echo - If you encounter any system conflicts when using this software,
echo - please check your system configuration (and DOS session settings).
echo -
echo - If the problem remains, please advise the author at
echo -
echo - Internet email address if no reply, write to Fred Kantor
echo - fred.kantor@factory.com 523 West 112 Street
echo - New York, NY 10025
echo -
if exist register.key goto rk1
echo - Note: GETLOOK lets you run an unregistered copy of FWKCS, with a copy of
echo - REGISTER.FRM in the same directory with FWKCS.EXE. You can put the
echo - directory on your PATH, so that GETLOOK can call FWKCS from anywhere
echo - on your system.
echo -
echo - The suggested test time is two weeks. To register, see REGISTER.FRM.
echo - ~~~~~~~~~
:rk1
pause
cls
echo - Part of FWKCS(TM) Contents_Signature System, Version 1.23.
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 access the remote lookup functions in the FWKLU123.ZIP kit;
echo - for use in the same directory with FWKLU.123 and FWKLU_TM.123.
echo -
echo -
echo - Usage: GETLOOK "<enter>"
echo -
if "%1" == "/*" goto end0
echo -
echo -
echo - To quit, press Ctrl+C, then y
echo -
pause
if not exist fwklu.123 goto nd
if not exist fwklu_tm.123 goto cm
ren fwklu_tm.123 fwklu_tm.com > nul
fwklu_tm < fwklu.123 > fwklutmp.123
if errorlevel 1 goto fbad
ren fwklu_tm.com fwklu_tm.123 > nul
pkunzip -o fwklutmp.123 fwkcs.exe fwkcs123.h0? lookup.bat rcrosref.bat lookup.doc register.doc register.frm > nul
if errorlevel 51 goto fz
if errorlevel 50 goto ns
if errorlevel 1 goto fz
if not exist register.key goto nk
fwkcs /register[+register.key]
fwkcs /register > nul
if errorlevel 98 goto dk
goto end
:dk
echo -
echo - Your REGISTER.KEY file was apparently defective.
echo -
echo - Continuing in unregistered mode...
echo -
:nk
fwkcs
if errorlevel 99 goto end
echo -
echo - Bad system date!
echo -
echo - Execution aborted!
echo -
echo - After you have set your computer system's date to today's date,
goto delbad
:ns
echo -
echo - Not enough space to work in. After you provide more space...
goto delbad
:fz
echo -
echo - Error getting files.
:delbad
if exist fwkcs.exe del fwkcs.exe > nul
if exist fwkcs123.h0? del fwkcs123.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 register.doc del register.doc > nul
if exist register.frm del register.frm > nul
goto try
:fbad
ren fwklu_tm.com fwklu_tm.123 > nul
echo -
echo - FWKLU.123 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 FWKLU_TM.123.
echo -
echo - I quit!
goto end0
:nd
echo -
echo - Nothing to do!
:end0
echo -
:end
if exist fwklutmp.123 del fwklutmp.123 > nul