home *** CD-ROM | disk | FTP | other *** search
- @echo off
- rem packer compress.exe reply_fname internals
-
- rem * These lines creates BLUEQWK.CFG in D:\SR\, change path to suit your needs
- echo .\ > D:\SR\BLUEQWK.CFG
- echo .\BQWRK\ >> D:\SR\BLUEQWK.CFG
-
- if (%1)==(PKZIP) goto PK
- if (%1)==(PKPAK) goto PKPAK
- if (%1)==(LHA) goto LHA
- if (%1)==(ARJ) goto ARJ
-
- :PK
- if (%5)==() goto PACK
- md BQWRK >nul
- copy %5 BQWRK >nul
- del %5 >nul
- blueqwk %4 rep-bw
- cls
- %1 %2 %3 %4 BQWRK\*.* %6 %7 %8 %9
- goto CLEANUP
-
- :PKPAK
- if (%4)==() goto PACK
- md BQWRK >nul
- copy %4 BQWRK >nul
- del %4 >nul
- blueqwk %3 rep-bw
- cls
- %1 %2 %3 BQWRK\*.* %5 %6 %7 %8 %9
- goto CLEANUP
-
- :ARJ
- if (%7)==() goto PACK
- md BQWRK >nul
- copy %7 BQWRK >nul
- del %7 >nul
- blueqwk %6 rep-bw
- cls
- %1 %2 %3 %4 %5 %6 BQWRK\*.* %8 %9
- goto CLEANUP
-
- :LHA
- if (%5)==() goto PACK
- md BQWRK >nul
- copy %5 BQWRK >nul
- del %5 >nul
- blueqwk %4 rep-bw
- cls
- %1 %2 %3 %4 BQWRK\*.* %6 %7 %8 %9
- goto CLEANUP
-
- :CLEANUP
- echo y|del BQWRK\*.* >nul
- rd BQWRK >nul
- goto END
-
- :PACK
- %1 %2 %3 %4 %5 %6 %7 %8 %9
-
- :END
-