filename_path

Using this function returns the path part of the indicated file path, including the final backslash.

 

Syntax:

filename_path(fname);

ArgumentTypeDescription
fnameStringThe file name and path to use.

 

Returns:

String

 

Example:

path = filename_path(working_directory + "Test.ini");

The above code gets the path (as a string) of the specified file.