In my app I have identified a UNC path such as
\\NASSERVER209\MYUSERDATA\EXHIBITS\COLDAN\GENIW0015.JPG from a 3rd party app I work with.
I have created a table of local drives which identifies mapped drives such as
Drive T: is a network drive connected to \\NASSERVER209\MYUserData
I intend to use a LOCATE on that table
On the PC I need 2 GENERAL substr() statements where I can get to the mapped drive label \\NASSERVER209\MYUSERDATA\ from \\NASSERVER209\MYUSERDATA\EXHIBITS\COLDAN\GENIW0015.JPG
The format will always be the same but the length of the subdirs will vary so I'm looking to get everything up to and including the second backslash.
I will then concatenate the drive letter ( T to the second substring justpath(\EXHIBITS\COLDAN\GENIW0015.JPG)
from which I can get a list of all files in that folder as described in thread184-1623660
Hopefully someone can help.
Coldan