GENERATED: MAR 29,2020 - 12:49PM
BATCH-BOT ZIP FILES [V10.20.03]

Previous Page

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 • • • 
--zip
<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.

--unzip
<9>File name of the source ZIP file to be processed.
<9>Use --path to name the UNZIP location.

--list [ALONE]
<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.

--path [OPT]
<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.

--subs [OPT]
<9>Flags "true" that root path subdirectories be processed too.
<9>Flags "true" that the ZIP must incorporate paths.

--win [OPT]
<9>Flags "true" to indicate show a progress window.

--mask [OPT]
<9>Standard dos-style file mask to describe files to be
<9>zipped,, for example • .app

--qry [OPT]
<9>CHT-Style file query to describe files to be zipped.
<9>For example: NAME ENDSWITH APP OR NAME •  .DCT

--silent [OPT]
<9>Flags do not pop up a results log on completion of the operation.

HELP:
--help [ALONE]
<9>Pops up this splash help screen.
<9>Creates a help file called "hndzipnethelp.txt"
<9>Displays "hndzipnethelp.txt" in CHT Snap Editor window.

LOGGING:
All successful oprerations or errors are logged into "hndzipnet.log" located in the same directory as the hndzipnet.exe.

Count Global Template Name Qty Global Template Description
(0001) AACHTControlPanel(HNDTools) 1 © CHT AACHTControlPanel - CHT Global Control Panel.
(0002) ApplicationImagesEx(HNDTools) 1 © CHT ApplicationImagesEx - Application Styling System
(0003) ApplicationSnapIns(HNDTools) 1 © CHT ApplicationSnapIns - Application Snap-In System
(0004) GlobalIncludeHNDDiskFunctions(HNDTools) 1 © CHT GlobalIncludeHNDDiskFunctions - Disk classes - HNDDisk - globally to your application.
(0005) HNDCMPControlPanel(HNDTools) 1 © CHT PROJECT BUILDER SUPPORT - Interface to the CHT Project Builder.
(0006) HandyCodeSigningExtension(HNDTools) 1 © CHT HandyCodeSigningExtension - Application Code-Signing System
(0007) HandyVersionResource(HNDTools) 1 © CHT HandyVersionResource - Version Resource/Build Number Information To EXE
(7) Global Templates Found

1 - Procedure Template Type: Splash
JumpStartSplashCHTBlue ()
Count Local Template Name Qty Local Template Description
(0008) AppBuildDateTimeStamp(HNDTools) 1 © CHT AppBuildDateTimeStamp - An application build date/time stamp.
(0009) AppBuildNumberStamp(HNDTools) 1 © CHT AppBuildNumberStamp - An application build number or version stamp.
(0010) AppCopyRightStamp(HNDTools) 1 © CHT AppCopyRightStamp - An application copyright stamp.
(0011) HandyTellMeControl(HNDTools) 1 © CHT HandyTellMeControl - Text box control to provide a message or help text.
(0012) ProcedureImagesEx(HNDTools) 1 © CHT ProcedureImagesEx - Application Styling System
(0013) ProcedureSnapIns(HNDTools) 1 © CHT ProcedureSnapIns - Application Snap-In System
(6) Local Templates Found In JumpStartSplashCHTBlue

2 - Procedure Template Type: HandySourceProcedure
Main ()
Count Local Template Name Qty Local Template Description
(0014) CHTBestPracticeEmbedClass(HNDTools) 1 © CHT Best Practice Embedding Assistant
(0015) EmbedNetZipFunctions(HNDTools) 1 © CHT EmbedNetZipFunctions - An Instance Of HNDNetZipperClass.
(0016) EmbedObject(HNDTools) 1 © CHT EmbedObject - An Instance Of:
(3) Local Templates Found In Main

Copyright © 1996-2020 - CHT Version: [24B.00.00]
Gus M. Creces, CHT - Clarion Handy Tools
All Rights Reserved Worldwide

chtlogo001.gif
Application Templates