Qurak

DirectoryName

Available

Returns the directory portion of a path, with a trailing slash.

DirectoryName["name"]
DirectoryName["/path/to/file.txt"] → /path/to/

Topics

Related

All 6300 functions · Use this from an MCP client