Download your own copy of HTML Cleaner today!Prev Page Prev Page
Introduction & Getting Started
Main Window
Optimization Options Dialog
Batch Tab
File Masks
Settings Dialog
Search & Replace Dialog
Command Line Support
Deep Troubleshooting
Change Log
Support & Feedback
License Text
Privacy Policy
Other products

Batch Tab

Batch Tab of HTML Cleaner Options Dialog

Use relative paths for files and folders option allows you to create portable project file which can be transferred to another computer along with the input (X)HTML documents or folders. Normally, HTML Cleaner stores in the project file full paths to all the input and output files and folders, allowing you to copy project file (*.htclnr) itself to another folder and to continue working with it. But if you want to move project file AND all input files to another location (folder, logical drive, another computer), check this option. Note that the program will still display full path to all files in the list of optimization items, but when you will save such a project, items paths will be related to the folder to which project file will be saved. Also note, that it is impossible to construct relative path that would point to another logical drive, so if any input or output file will be on another drive, its path will be saved as an absolute one.

Directory processing options relates to processing of folder items (that is, when input item specify folder, not single file). Note that these controls is not visible (or active) when you edit optimization options for group of items that does not include folder item. These options is visible (or active) only when you edit either default optimization options, or of the selection includes at least one folder item.

Include subfolders instructs the program to recursively traverse through all subfolders of a given input folder.

Preserve folder structure, when checked, force the program to place output (X)HTML documents into the same subfolder of output folder. By default, the program will place output (X)HTML files to the root of output folder. Choose whatever fits your particular requirements.

File mask input text field determines which files of input folder will be processed. Specify list of filemasks separated by semicolons. For example, to process all HTML and XHTML documents, enter *.html;*.htm;*.xhtml there. There is a separate page with description of filemask syntax.

Exclude files input text field determines files of input folder which will not be processed, even if the filename matches one of the mask specified in the "File mask" field. Specify list of filemasks separated by semicolons. For example, to exclude from processing temporary files, which sometimes somehow remain on disk, enter ~*.html there.

Output ext. input text field determines what extension will be assigned to every output file. Name part of the filename will be taken from original document. Note that this is no way to modify name part of the filename.