ExtractFilePath
Sub ExtractFilePath($fileName As String) As String
Returns the extracted file path of the file specified in $fileName.
ExtractFilePath returns an empty string, if $fileName does not contain a drive or directory part.
Parameters
- $fileName ... String expression that specifies a file name, with or without drive or folder information.
Example:
Dim $s
$s = ExtractFilePath("e:\exp\template.txt")
' returns $s = "e:\exp"