|
|
| Purpose: | Compress and optionally encrypt batch files. See Batch File Compression for additional details. |
| Format: | BATCOMP [/Ekkkk /K /O /Q] InputFile [OutputFile] |
Inputfile |
A file to compress and/or encrypt. |
OutputFile |
A file to hold the output from the command |
File Selection
The single input file must be specified explicitly.
Usage:
BATCOMP is a batch file compressor and optionally allows for simple key-based encryption.
If you do not specify OutputFile, it defaults to the InputFile name with a BTM extension. If you specify OutputFile, you must give an extension or the output file will not have one. In other words there is no BTM default if you just give a file name. If OutputFile already exists it will not be overwritten unless /O is used.
The output BTM file will not be legible, but it will run under TCC. The behavior and performance of the file should be the same as if it were run in its original source form as a .BTM file.
Compression is not effective for very small files and may even result in a slightly larger file.
Options:
| /K | By defaults, comments (i.e. lines starting with REM or :: but not REM >) are retained in the compressed file. /K forces those lines to be stripped for additional size reduction. |