string.file.path
Syntax
Given a full file and path name, returns just the path.
For example, given the string c:/mywork/myfile.txt the return value would be c:/mywork.
string.file.name
string.find