curdir is probably not right.  that said, i'm not sure what it should be relative to, possibly the ini file?