QuoteIMatch must check the drive containing the TEMP folder, not the drive containing the database.
Can this TEMP folder be on a drive other than C:, one with more room?
You can configure the TEMP folder on your system to anywhere you like.
Since many applications write many files into TEMP, it is best to place it on the fastest disk you have.
If your C: disk has not enough space to compact a database, my suggestion would be to move other files from that disk to another drive. The fuller an SSD gets, the worse its performance becomes. And you want your C: disk to be as fast as possible for the benefit of all applications you run.
If you have no alternative, here is a tutorial on how to change the temp folder location:
https://www.howtogeek.com/285710/how-to-move-windows-temporary-folders-to-another-drive/
Aah, with more elbow room, everything is so much smoother, thank you. 8)