Skip to content

path.getbasename

starkos edited this page Apr 10, 2021 · 3 revisions

⚠️ We have a new website! Visit now for the most update to date documentation.
       This wiki is no longer being maintained.


Returns the base file portion of a path, with the directory and file extension removed.

p = path.getbasename("path")

Parameters

path is the file system path to be split.

Return Value

The base name portion of the supplied path, with any directory and file extension removed.

Availability

Premake 4.0 or later.

See Also

Clone this wiki locally