OverviewExamples
Splits a path up into it's drive, folders, filename, and file extension and returns a table containing each part.
(string) The path that you want to split up.
(table) A table containing each component of the path, indexed by the following keys:
KEY |
TYPE |
DESCRIPTION |
Drive |
string |
The drive portion of the path (for example, C:). |
Folder |
string |
All of the folders within the path (for example, \MyFolder1\MyFolder2\). |
Filename |
string |
The filename in the path (for example, "myfile"). |
Extension |
string |
The file extension in the path (for example, ".exe"). |
Note: If any portion of the path is not available, an empty string will be returned ("") as it's value.
See also: Related Actions