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

Yes, it will. It works on strings and breaks them into directory, file, extension, etc. It is portable. It is easy.
  • Comment on Re^3: how do I get the directory name from the pathnames