Templates not compacting if wildcards are used in command

You can use a compact command successfully with wildcards or without specifying databases on all databases in the Data folder and sub-folders but you can't do this for templates. This prevents templates being compacted every time you issue a generic compact command. You can also run a batch command if multiple templates must be compacted.

Another workaround is to create a notepad document which lists all of the templates listed one template name per line as shown below:

Image:Templates not compacting if wildcards are used in command

This notepad document would need to be saved as file type ' All Files ' with the extension  of ' .ind ' such as ' templates.ind ' and placed in the Domino Data folder .
This file can then be specified to run compact -c against as in the following command ' load compact -c templates.ind '