home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 9 Archive
/
09-Archive.zip
/
ZFV12.ZIP
/
PCBVIEW.BAT
< prev
next >
Wrap
DOS Batch File
|
1990-09-03
|
487b
|
20 lines
@echo off
rem -- Attempt to view contents of archive
ZFV %1
rem -- Check errorlevel on return from ZFV to see if the program recognized
rem -- the archive file's format
if errorlevel 1 goto TryAgain
rem -- If there was no errorlevel, then ZFV worked and we're done
goto TheEnd
:TryAgain
rem -- If ZFV couldn't deal with the file, use Vern Buerg's FV program to
rem -- produce a listing of the archive file's contents
fv %1 /B > pcbview.txt
:TheEnd
rem -- The End