filename_path

Returns the path part of the indicated file path.

Syntax:

filename_path(fname);


Argument Description
fname The file name and path to use.


Returns: String


Description

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


Example:

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

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


Back: File System Functions
Next: filename_dir
© Copyright YoYo Games Ltd. 2018 All Rights Reserved