Anyone have a handy dandy parse routine for contents of string containing fullpath of a filename
Remove folders from example: \\server\share\folder1\folder2\folder3\folder4\filename.ext Or Remove folders from example: C:\folder1\folder2\folder3\folder4\filename.ext *--* What I would like to return is just the individual folder names, never the drive letter, never the server, never the share name and never the filename itself... Returns for example: folder1\folder2\folder3\folder4\ <-- I will use this to ensure a destination folder structure is created just past the share name... It's getting later, I'm brain farting on just what type of logic will recognize drive letter .vs. unc. Something like do case, case ":\" $ (lcfullpath) or something. Can also just use justpath(lcfullpath) to remove file name... Thanks folks, John C. Gunvaldson San Diego _______________________________________________ Post Messages to: [email protected] Subscription Maintenance: http://leafe.com/mailman/listinfo/profox OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.

