Yup... exactly. It screwed up the entire INI file. But NTDOC's code worked exactly as needed. Thanks for all the help guys. I need to get back to coding, I've lost a lot of my logical thought processes.