home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Media Share 9
/
MEDIASHARE_09.ISO
/
dbase
/
fwkcs120.zip
/
QIKSTART.BAT
< prev
next >
Wrap
DOS Batch File
|
1993-05-28
|
6KB
|
176 lines
@echo off
cls
if not .%2 == . goto az
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 -
echo - Fred Kantor
echo - 523 West 112 Street
echo - New York, NY 10025
echo -
echo -
echo - Note: The Client/Host configuration, Split Testing, and the automatic
echo - text interpretation functions, are reserved for registered FWKCS(TM).
echo - (see REGISTER.FRM)
echo -
pause
cls
:az
echo - Part of FWKCS(TM) Contents_Signature System, Version 1.20.
echo - (C)Copyright Frederick W. Kantor 1989-1993. All rights reserved.
echo - Your use of the FWKCS(TM) Contents_Signature System is at solely your
echo - own risk. For safety, please have proper backups of your files.
echo - QIKSTART.BAT to set up the FWKCS(TM) Contents_Signature System, Ver. 1.20;
echo - for use in same directory with FWKCS120.ZIP, FWKCS.120, and FWKCS_TM.120.
echo - QIKSTART does not search your file collection (see README.TXT).
echo - Disk space: allow 3 Meg. setup, ca 1.4 Meg. static files, starting empty.
echo - For full installation with search of your file collection, use INSTALL.BAT.
echo - Note: Before you start the installation, please have available on your PATH:
echo - Phil Katz's PKUNZIP(R), Version 2.04g or later.
echo - (More information provided as FWKCS.120 package is opened; see README.TXT.)
echo - If you are replacing FWKCS Ver. 1.12 or later, use REPLACE.BAT.
echo - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
echo - Usage: QIKSTART d D "<enter>"
echo - QIKSTART d D c "<enter>"
echo -
echo - where d without ":" is the drive for the \CS directory
echo - D without ":" is the drive for the \CSA directory
echo - c capture contents_signatures re FWKCS120.ZIP (recommended).
if .%1 == ./* goto end
if .%1 == . goto nd
if .%2 == . goto nod2
if .%3 == .C goto aa
if .%3 == .c goto aa
if not .%3 == . goto bi
:aa
echo -
echo - Are these drives correct: %1:\CS and %2:\CSA ? If not, stop now!
echo - To quit, press Ctrl+C, then y ~~~~~~~~
echo -
pause
if not exist fwkcs120.zip goto nv120
attrib -r fwkcs120.zip > nul
if exist 0_setup.bat del 0_setup.bat > nul
if exist 0_setup.bat attrib -r 0_setup.bat > nul
if exist 0_setup.bat del 0_setup.bat > nul
pkunzip 0_setup.bat > nul
if errorlevel 1 goto zex
goto nz
:zex
if exist replm120.120 del replm120.120 > nul
if exist replm120.120 attrib -r replm120.120 > nul
if exist replm120.120 del replm120.120 > nul
if exist 2_setup.bat del 2_setup.bat > nul
if exist 2_setup.bat attrib -r 2_setup.bat > nul
if exist 2_setup.bat del 2_setup.bat > nul
if exist s_setup.bat del s_setup.bat > nul
if exist s_setup.bat attrib -r s_setup.bat > nul
if exist s_setup.bat del s_setup.bat > nul
if exist myowncsl.srt del myowncsl.srt > nul
if exist myowncsl.srt attrib -r myowncsl.srt > nul
if exist myowncsl.srt del myowncsl.srt > nul
if exist #@!#@!$$.@!@ del #@!#@!$$.@!@ > nul
if exist #@!#@!$$.@!@ attrib -r #@!#@!$$.@!@ > nul
if exist #@!#@!$$.@!@ del #@!#@!$$.@!@ > nul
if exist @@!#@!$$.@!@ del @@!#@!$$.@!@ > nul
if exist @@!#@!$$.@!@ attrib -r @@!#@!$$.@!@ > nul
if exist @@!#@!$$.@!@ del @@!#@!$$.@!@ > nul
if exist @@!#@$!$.@!@ del @@!#@$!$.@!@ > nul
if exist @@!#@$!$.@!@ attrib -r @@!#@$!$.@!@ > nul
if exist @@!#@$!$.@!@ del @@!#@$!$.@!@ > nul
cls
if not exist fwkcstmp.120 goto n1
if exist fwkhi.com del fwkhi.com > nul
if exist fwkhi.com attrib -r fwkhi.com > nul
if exist fwkhi.com del fwkhi.com > nul
pkunzip -o fwkcstmp.120 fwkhi.com > nul
if exist fwkhi.com goto n2
:n1
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 fbad
ren fwkcs_tm.com fwkcs_tm.120 > nul
pkunzip -o fwkcstmp.120 fwkhi.com > nul
if not exist fwkhi.com goto fbad
:n2
cls
if .%3 == .c goto n3
if not .%3 == .C goto nocs
:n3
if exist fwkcs120.zip ren fwkcs120.zip @@!#@!$$.@!@ > nul
ren fwkcstmp.120 fwkcs120.zip > nul
pkunzip -o fwkcs120.zip fwkcs.exe > nul
fwkcs /1 fwkcs120.zip #@!#@!$$.@!@
ren fwkcs120.zip fwkcstmp.120 > nul
if exist @@!#@!$$.@!@ ren @@!#@!$$.@!@ fwkcs120.zip > nul
if not exist fwkcs.exe pkunzip fwkcs120.zip fwkcs.exe > nul
if exist fwkcs120.zip fwkcs /1 fwkcs120.zip >> #@!#@!$$.@!@
fwkcs #@!#@!$$.@!@ /a7.8v",!" @@!#@$!$.@!@
del #@!#@!$$.@!@ > nul
fwkcs @@!#@$!$.@!@ /s
fwkcs @@!#@$!$.@!@ nul myowncsl.srt /ms
del @@!#@$!$.@!@ > nul
del fwkcs.exe > nul
:nocs
pkunzip fwkcstmp.120 s_setup.bat > nul
del fwkhi.com > nul
s_setup %1 ! %2 1 0
:nv120
echo -
echo - QIKSTART.BAT is for use in the same directory with all these
echo - files together: FWKCS120.ZIP, FWKCS.120, and FWKCS_TM.120.
goto clu
:bi
echo -
echo - The third entry, if not blank, must be "c" or "C" (without quotes),
echo - to capture contents_signatures re files in FWKCS120.ZIP.
goto helpr
:nz
echo -
echo - Where is Phil Katz's PKUNZIP(R)?
echo -
echo - Please check your path and mapping...
echo -
echo - After you correct this problem,
goto helpr
:fbad
del fwkcstmp.120 > nul
ren fwkcs_tm.com fwkcs_tm.120 > nul
echo -
echo - Bad file. Execution aborted.
:clu
echo -
echo - Please clean up, and try again. See README.TXT.
goto end
:cm
echo -
echo - I need FWKCS_TM.120.
echo -
echo - I quit!
goto end
:nod2
echo -
echo - I need two drive entries (they can both have the same letter).
:helpr
echo -
echo - Please try again...
goto end
:nd
echo -
echo - Please see "Usage", above...
:end
if exist fwkhi.com del fwkhi.com > nul
echo -