Inno Setup Preprocessor: ExtractFileDir

Prototype

str ExtractFileDir(str PathName)

Description

Returns the directory portion of the given filename, excluding a trailing 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.

See also

ExtractFilePath