ExtractFilePath
function ExtractFilePath(sFileName As String) As String
Returns the extracted file path of the file specified in sFileName.
ExtractFilePath returns an empty string if sFileName doesn't contain drive and directory parts.
Parameters
Example:
Dim s
s = ExtractFilePath("e:\exp\template.txt")
' returns s = "e:\exp"