Thanks Doc.

I think I got your point using an ini file and read it with ReadProfileString, instead of regular txt file.

But I’m not sure what you mean with the “flag in the HKCU… and increment up”, and how its done.

Seems I need some simple codes to study and then understand…