Having to do a bit of guess work here, but i assume "MakePath$" is a function that creates a file in the applications path called applicationName.INI

If the file is not found, then i agree with you that the file is not being created. So the error is probably in MakePath$

Maybe some more info.