Contents
The Command Line parameters

You can also use the HTML (Un)Compress tool with the Command Line. This is very useful for peoples who want to process large numbers of files. This is how you do it:

HTMLComp [/y] [/s] [/c] [/u] file1.htm[file2.htm]

/y

There are no questions asked, everything is automatically answered yes and the program will be automatically shut down after the process.

/s

Use this option to scan the subdirectories for files to compress according the wildcards of file1.htm

/c

Use this option to compress.

/u

Use this option to uncompress.

file1.htm

Needed. This file will be used as input. May contain wildcards but then the file2.htm tag will be ignored.

file2.htm

Needed. This file will be used as output.

Example

HTMLComp /c index.htm

The index.htm will be compressed and overwritten after you push on yes twice.

HTMLComp /u /y index.htm index2.htm

The index.htm file will be uncompressed in theindex2.htm file, no questions will be asked.

HTMLComp /y /c *.htm

All HTML files in this directory will be compressed without asking any questions.