GENERATED: AUG 11,2020 - 2:46PM
BATCH-BOT ZIP FILES [V10.20.08]

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.

 
PROCEDURE (1):
JumpStartSplashCHTBlue (Procedure Template: Splash)
Count Instance Class Type Methods Header File
(0001) HTellMe HNDWindow HND 215 HNDWINDO.INC
(0002) Toolbar ToolbarClass ABC 6 ABTOOLBA.INC
(0003) ThisWindow WindowManager ABC 39 ABWINDOW.INC
(3) Class Instances Found In JumpStartSplashCHTBlue


 
PROCEDURE (2):
Main (Procedure Template: HandySourceProcedure)
Count Instance Class Type Methods Header File
(0001) ZIP HNDNetZipperClass HND 41 HNDNETZIPPER.INC
(0002) QRY HNDQueryBuilder HND 245 HNDQBINF.INC
(2) Class Instances Found In Main


Copyright © 1996-2020
Gus M. Creces, CHT - Clarion Handy Tools
All Rights Reserved Worldwide

chtlogo001.gif
Classes By Procedure