str ExtractFileDir(str PathName)
Returns the directory portion of the given filename without a backslash (unless it is a root directory). If PathName doesn't contain a directory portion, the result is an empty string.
Declared in ISPPBuiltins.iss.