home *** CD-ROM | disk | FTP | other *** search
- ;
- ; SNiF example 1 control file
- ;
- ; Converts all .ZIP archives on current drive to .LZH format
- ; PkUnzip and Lha should be in the DOS path
- ;
- -d ; turn off sniffed messages
- +w@@ ; only search current drive
- ;
- ; Execute these commands when a .ZIP file is found
- ;
- +xmd _tmp_ ; make _tmp_ directory
- +xpkunzip &f _tmp_ ; unzip archive into it
- +xlha m &p&n _tmp_\*.* ; create new .LZH style archive
- +xdel &f ; delete original .ZIP file
- +xrd _tmp_ ; and delete _tmp_ directory
- ;
- ; The actual filemask to snif for
- ;
- *.ZIP
-
-