in reply to Re^2: how do I get the directory name from the pathnamesin thread how do I get the directory name from the pathnames