home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Current Shareware 1994 January
/
SHAR194.ISO
/
email
/
qprn103.zip
/
KQ-PACK.BAT
< prev
next >
Wrap
DOS Batch File
|
1993-08-29
|
1KB
|
28 lines
REM This batch file is for repacking QWK packets with versions of
REM KingQWK earlier than 1.05. First, replace [king_work] with the
REM work directory defined in KingQWK's configuration.
REM
REM The line "%1 -d -k %3 *.ndx" deletes the old .NDX files from the QWK
REM packet. It presumes you're using PKZIP. You'll need to edit it if
REM you're using another packer. It also presumes you're passing one
REM parameter to your packer, as in the line PKZIP -A. If you are, the
REM name of the QWK file will be %3. If you're not passing any options,
REM this parameter will be %2. If you pass more than one option to the
REM packer, increase this parameter number by 1 for each additional
REM option. %1 is the name of your unpacker.
REM
@echo off
parmscan MESSAGES.DAT %1 %2 %3 %4 %5 %6 %7 %8 %9
if not errorlevel 1 goto messages
parmscan *.KRD %1 %2 %3 %4 %5 %6 %7 %8 %9
if not errorlevel 1 goto bookmark
%1 %2 %3 %4 %5 %6 %7 %8 %9
goto endit
:messages
%1 -d -k %3 *.ndx
%1 %2 %3 %4 %5 %6 %7 %8 %9 [king_work]\*.ndx
goto endit
:bookmark
%1 %2 %3 %4 %5 %6 %7 %8 %9
:endit