In the end, I changed the .ind file to a .bat file, moved it to the Domino program folder and run from a command line. The batch file syntax was: ncompact -c -upgrade “Sales Targets”\Targets.nsf ncompact -c -upgrade “Sales Targets”\Sales2019.nsf ncompact -c -upgrade “Sales Targets”\Sales2020.nsf ncompact -c -upgrade “Sales Targets”\Sales2021.nsf ncompact -c -upgrade “Sales Targets\Overall Sales.nsf” And yes, it worked.