Macro Scheduler 15

ExtractFilePath

ExtractFilePath>filename,result

 

Extracts the directory path from the given filename and returns it in result.

 

See also: ExtractFileExt, ExtractFileName

Abbreviation: EFP

 

Example:

 

Let>filename=c:\users\documents\somefile.doc

 

//path_only will contain "c:\users\documents"

ExtractFilePath>filename,path_only