> basename--I'm not familiar with this term (at least in this type of > context), please explain. basename is a function that returns a pointer to the filename part of a path. For example the basename of "/foo/bar/baz" returns a pointer to "baz". Which is what the code in question duplicates. Mark