Another workaround is to create a notepad document which lists all of the templates listed one template name per line as shown below:
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 '