I agree and I'm not happy with having raised the issue in this forum when it shouldn't have been necessary - my mistake. Anyway, your points are noted and thank you (and others) for your guidance. However, it's a pity the docs on TIniFile don't mention the possibility of also editing ,cfg files - not that I could find (after extensive googling) anyway!