> > i thought when you don't give a directory then it
> > assumes the directory is the one the exe is running
> > from, no?
> no.
> it is the 'current directory', and can be affected by all
> kinds of things.
> if you want the same directory as the exe is running in,
> then you can examine args[0], which is the full command
> line (path and all, I think) and replace the name of the
> exe with the name of the ini file, and you have a valid
> pathname. (there are neater ways to do this, but this is
> a hacker's approach and it usually works)
What would a neater way in DOS be?
> why do I offer advice to closed-source code? If it was
> open source, I could just look in and see the problem and
> be more useful, and quicker... :mad:
Indeed ;->