Sign in to follow this  
Followers 0
kjactive

Zip Component UDF

1 post in this topic

#1 ·  Posted (edited)

I'd stumbled over a component called CGZip ( Info-Zip ) and made a small UDF

This is just a basic archiver but never the less powerfull and has some benefits from some of the other archivers - this one can write archive contense to a variable without unpacking ec., a nice feature to script languages like autoit3 - always use wildcards where * is all files ec....

Currently only four commands:

1. _Zip( $zipname, $rootdir, [$rootfolders = True[,$update = False]])

2. _UnZip( $zipname, $UnZipTo, [$Createpath = False[,$OnlyNewer = False]])

3. _GetZip( $zipname, [$logfile = Nothing[,$WriteToTmp = False]])

4. _TestZip( $zipname, [,$WriteToTemp = False])

Note: The _Zip / _UnZip commands use wildcards as standard were * use all files / *.exe build or extract only executes ec., options to exclude, add and build related to wildcards - comes with source, topics, Components and CGZip Management html files

Download from site:

http://www.sitecenter.dk/latenight/nss-fol...ports/CGZip.zip

kjactive :)

Edited by kjactive

Share this post


Link to post
Share on other sites



Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0