This "CHT Batch Bot", HNDENCRYPT.APP, application runs from the DOS prompt or can be called from another application using Clarion RUN, or CHT HNDSnapCall Class, or from a batch file or windows .VBS script. It accepts several command-line parameters that describe the input file and and output path. HNDENCRYPT.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. HNDENCRYPT.EXE command-line parameters are as follows: • • HELP • • --help [OPT] <9>Pops up a splash help screen. --silent [OPT] <9>Suppresses log and help file popups. • • ENCRYPT/DECRYPT • • --input [REQ] <9>Path and name of input file. <9>If the path is omitted, the .EXE path is assumed. --output [REQ] <9>Output path only - local to this exe if omitted. --mode [OPT] <9>Encode or decode - defaults to encode if omitted. --key [OPT] <9>Encrypting password - read from registry if omitted. The output file name is formatted from the input file with a .hzy extension. For example: test.pdf becomes testpdf.hzy. The encrypted file is both compressed and encrypted by the operation of this CHT Batch Bot application. This operation is performed in a single pass whether encoding or decoding. |
Count | Global Template Name | Qty | Global Template Description | |
(0001) | AACHTControlPanel(HNDTools) | 1 | © CHT AACHTControlPanel - CHT Global Control Panel (hndtools.tpl) | |
(0002) | ApplicationImagesEx(HNDTools) | 1 | © CHT ApplicationImagesEx - CHT 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) | HandyVersionResource(HNDTools) | 1 | © CHT HandyVersionResource - Version Resource/Build Number Information To EXE | |
(6) Global Templates Found | ||||
1 - Procedure Template Type: Splash | ||||
JumpStartSplashCHTBlue () | ||||
Count | Local Template Name | Qty | Local Template Description | |
(0007) | AppBuildDateTimeStamp(HNDTools) | 1 | © CHT AppBuildDateTimeStamp - An application build date/time stamp. | |
(0008) | AppBuildNumberStamp(HNDTools) | 1 | © CHT AppBuildNumberStamp - An application build number or version stamp. | |
(0009) | AppCopyRightStamp(HNDTools) | 1 | © CHT AppCopyRightStamp - An application copyright stamp. | |
(0010) | EmbedWindowFunctions(HNDTools) | 1 | © CHT EmbedWindowFunctions - HWin An Instance Of: HNDWindow | |
(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 | |
(7) 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) | EmbedEncryptionFunctions(HNDTools) | 1 | © CHT EmbedEncryptionFunctions - HENC An Instance Of: HNDEncrypt | |
(2) Local Templates Found In Main | ||||