Changing your INI format from Comp1=name1 to name1=1, name2=1, etc, means you can use EnumIni to enumerate the list of computer names directly, rather than having to enumerate the list of values and then use ReadProfileString to get the actual names. \:\)

You could also use the value to mean something, such as 1=process and 0=ignore, but I use this generic method often when I just need a list of names from the INI file.

Glenn
_________________________
Actually I am a Rocket Scientist! \:D