::PathOnly

char * PathOnly(char *path)

Returns the directory part of the filename (returns a new string).