This "CHT Batch Bot", HNDZIPNET.EXE is a command-line zip tool which can zip files alone or in bulk using a DOS-style file mask (eg: • .app) to describe the files to be zipped. The application can be called from one of your Clarion applications, a Windows batch file or a Windows .VBS script to provide reliable single and multi file zipping services.
HNDZIPNET.EXE source code, because it is in Clarion .APP format, is included as a standard part of the CHT toolkit, provided both in .APP format as well as ready-to-run, in .EXE format.
HNDZIPNET.EXE is dependent on one CHT DLL being present and visible on the system path, namely: HNDNETZIPPER.DLL.
The application communicates to this DLL via COM requiring the HNDNETZIPPER.DLL to be registered on the host system. The DLL will auto-register on the host system when first called and found not to be registered. Auto-registration can only be performed from an "admin" account.
• • ZIPPING/UNZIPPING/LISTING • • •
<9>Provides file name of the target ZIP file to be created.
<9>Note that the ESC key cancels ZIP operations in all cases.
<9>Use --path to name the source files location.
<9>File name of the source ZIP file to be processed.
<9>Use --path to name the UNZIP location.
<9>Lists the entire contents of the ZIP to "hndzipnet.log"
<9>and displays it in CHT Snap Edit.
<9>All other tags are ignored when --list is invoked.
<9>Names the root where --ZIP picks up files for processing.
<9>Names the root where --unzip places its files.
<9>The Start-In path is used when this tag is omitted.
<9>Flags "true" that root path subdirectories be processed too.
<9>Flags "true" that the ZIP must incorporate paths.
<9>Flags "true" to indicate show a progress window.
<9>Standard dos-style file mask to describe files to be
<9>zipped,, for example • .app
<9>CHT-Style file query to describe files to be zipped.
<9>For example: NAME ENDSWITH APP OR NAME • .DCT
<9>Flags do not pop up a results log on completion of the operation.
<9>Pops up this splash help screen.
<9>Creates a help file called "hndzipnethelp.txt"
<9>Displays "hndzipnethelp.txt" in CHT Snap Editor window.
All successful oprerations or errors are logged into "hndzipnet.log" located in the same directory as the hndzipnet.exe.
JumpStartSplashCHTBlue (Procedure Template: Splash)
|(3) Class Instances Found In JumpStartSplashCHTBlue|
Main (Procedure Template: HandySourceProcedure)
|(2) Class Instances Found In Main|