Quote:
as a test you might try this out


Yes, your snippet works fine, creates the folder and ini file with no problems at all. I shall keep it handy, I think it might come in useful soon.

genius_at_work you are aptly named, and thanks also hixxy. The quotes method works fine, creating the ini if it doesn't exist. I'm going with the quotes method for the moment as its slightly simpler, and also will handle things if for some reason the ini disappears halfway through execution.

Thanks very much guys!