Hi

Take a good look at writeprofilestring parameters.

If the 4th argument is '' (the empty string) the key is deleted.

If the 4th argument an the 3rd argument are '' the entire section given by the 2nd argument is deleted.

Remember that the strings for the file, section and key name aren't case sensitive.

Hope this helps.

Pierre
_________________________
Comments always welcome. French native so I apologize for my (mis)use of English!