I was only using an INI because it had been recommended to me to use one in an earlier post. If I wanted a list of machine names in a file what else should I use?

BTW Lonkero: Your WriteProfileString works, but I was hoping to have just machine names without dates etc, is this possible?

Many thanks for all your help.