home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Monster Media 1994 #1
/
monster.zip
/
monster
/
UTIL_ARC
/
QAZ_230.ZIP
/
QAZ-DEMO.EXE
/
QFIND.BAT
< prev
next >
Wrap
DOS Batch File
|
1994-01-13
|
1KB
|
33 lines
@echo off
rem QFIND.BAT - This is a demo of using QAZ to find and list all archives
rem that contain a certain filename.
rem QFIND.BAT v2.21b - Vaguer filespecs were removed.
rem Usage: QFIND drive filename
rem Use the QAZSPEC environment variable to define the filespecs for QAZ
rem to search for when doing a recursive directory scan with the /ue
rem option (search subdirectories).
rem This is done because:
rem (a) It reduces the search time by having QAZ look at archive specs
rem (b) Searching _all_ files is problematic since some strange files
rem may cause QAZ to crash.
set qazspec=.ar[cjk] .dwc .exe .gz .ha .[hz]pk .h[ay]p .ice .sit .l[ab]r .li[bm] .lz[hs] .pak .sqz .tar .z .zip .zoo
rem Notice the use of extended filespecs...
rem In version 2.29ß of QAZ, most of these filespecs are predefined. One
rem can use the /us+ option instead, or use the /use+ option to add an
rem extra set of filespecs (see the documentation for more specifics).
rem Use '/vsi' instead of '/vs' if you don't want a listing of the file.
qaz %1\ %2 /vs /ue+ > qfind.$$$
more < qfind.$$$
erase qfind.$$$