Functions Language

FilePath

The FilePath() function returns the file path portion of a full directory path, without the file name.

Related functions: FileList, FileName

Syntax


FilePath (FilePathName)

FilePathName The full directory path and name of the file

Examples


Function Output
FilePath(“C:WorkDraftsLetter.txt”) C:WorkDrafts
FilePath(“\MyServerShareMediaBrochure.pdf”) \MyServerShareMedia
FilePath(“Quotation.docx”)
FilePath(“Invoice”)