⚠️ We have a new website! Visit now for the most update to date documentation. This wiki is no longer being maintained.
Returns the drive letter portion of a path, if present.
p = path.getdrive("path")
path is the file system path to be split.
path
The drive letter portion of the path, if one is specified. Otherwise, nil.
Premake 4.0 or later.
There was an error while loading. Please reload this page.