home *** CD-ROM | disk | FTP | other *** search
- @echo off
- rem ********************************************
- rem ** **
- rem ** FEdView.Bat **
- rem ** **
- rem ** Copyright Peter Davies 1992 **
- rem ** All Rights Reserved **
- rem ** **
- rem ** For use with Ezycom Only **
- rem ** **
- rem ********************************************
- echo Extracting %1 from %2
-
- rem If called stand alone, it checks to see if enough parameters were
- rem passed to the batch file
-
- if !%3! == !! goto endit
-
- rem This is a list of the command line in FEdView.Bat (Ezycom)
-
- rem %1 EZYCOM.PAS Filename to Extract
- rem %2 C:\EZY\FILES\EZYSRC.ZIP Filename to Extract From
- rem %3 ZIP Archive Type
-
- if not exist %2 goto :endit
-
- goto :get%3
-
- :getzip
- pkunzip -o %2 %1
- goto endit
-
- :getlzh
- lha e /cnm %2 %1
- goto endit
-
- :getarc
- PKXARC -r %2 %1
- goto endit
-
- :getpak
- PAK e /wa %2 %1
- goto endit
-
- :getarj
- arj e -y %2 %1
- goto endit
-
- :getzoo
- ZOO -e %2 %1
-
- :endit
- echo Finished Extraction
-