Function DirName (Const Path : Pathstr) : Pathstr;
Returns the directory part of Path.
The directory is the part of Path before the last slash, or empty if there is no slash.
The last character of the result is not a slash, unless the directory is the root directory.
None.