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 • (TIER-1) • | |
(0002) | ApplicationImagesEx(HNDTools) | 1 | © CHT ApplicationImagesEx • (TIER-1) • | |
(0003) | ApplicationSnapIns(HNDTools) | 1 | © CHT ApplicationSnapIns • (TIER-3) • | |
(0004) | GlobalIncludeHNDDiskFunctions(HNDTools) | 1 | © CHT GlobalIncludeHNDDiskFunctions • (TIER-2) • | |
(0005) | HNDCMPControlPanel(HNDTools) | 1 | © CHT HNDCMPControlPanel • (TIER-2) • | |
(0006) | HandyVersionResource(HNDTools) | 1 | © CHT HandyVersionResource • (TIER-1) • | |
(6) Global Templates • (TIER-3) | ||||
1 – Template Type: Splash | ||||
– – Procedure Name: JumpStartSplashCHTBlue() | ||||
Count | Local Template Name | Qty | Local Template Description | |
(0007) | AppBuildDateTimeStamp(HNDTools) | 1 | © CHT AppBuildDateTimeStamp • (TIER-2) • | |
(0008) | AppBuildNumberStamp(HNDTools) | 1 | © CHT AppBuildNumberStamp • (TIER-2) • | |
(0009) | AppCopyRightStamp(HNDTools) | 1 | © CHT AppCopyRightStamp • (TIER-2) • | |
(0010) | EmbedWindowFunctions(HNDTools) | 1 | © CHT EmbedWindowFunctions • (TIER-2) • (CODE-TABS) • | |
(0011) | HandyTellMeControl(HNDTools) | 1 | © CHT HandyTellMeControl • (TIER-2) • (2) | |
(0012) | ProcedureImagesEx(HNDTools) | 1 | © CHT ProcedureImagesEx • (TIER-1) • (CODE-TABS) • | |
(0013) | ProcedureSnapIns(HNDTools) | 1 | © CHT ProcedureSnapIns • (TIER-3) • | |
(7) Local Templates • (TIER-3) | ||||
2 – Template Type: HandySourceProcedure | ||||
– – Procedure Name: Main() | ||||
Count | Local Template Name | Qty | Local Template Description | |
(0014) | CHTBestPracticeEmbedClass(HNDTools) | 1 | © CHT CHTBestPracticeEmbedClass • (TIER-1) • (CODE-TABS) • | |
(0015) | EmbedNetZipFunctions(HNDTools) | 1 | © CHT EmbedNetZipFunctions • (TIER-4) • (1) | |
(0016) | EmbedObject(HNDTools) | 1 | © CHT EmbedObject • (TIER-4) • (2) | |
(3) Local Templates • (TIER-4) | ||||