In reply to Re^3: how do I get the directory name from the pathnames by jZed in thread how do I get the directory name from the pathnames by devlele