This function returns the folder part of a file path.
Parameter | Description |
---|---|
path | full or relative file path |
Returns the folder part of the specified path.
path = "C:/Windows/explorer.exe"
print("Full path: " .. path)
print("File name: " .. StripDir(path))
print("File directory: " .. ExtractDir(path))
print("File extension: " .. ExtractExt(path))
print("File name without extension: " .. StripAll(path))
print("File path without extension: " .. StripExt(path))