GetPathPart()
Syntax
Path$ = GetPathPart(FullPathName$)Description
Retrieves the path part of a full path. For example, if the full path is "C:\PureBasic\PB.exe", the result will be "C:\PureBasic\".
To retrieve the extension or the file part from a full path, look at the GetExtensionPart() and GetFilePart() functions.
More useful file-related functions can be found in the File and FileSystem libs.
Supported OS
All