$file.extractpath

Extract the path from a filename
Syntax

$file.extractpath(<filepath>)

Description
Returns the path part of the <filepath> translated to match the current platform filesystem conventions.
The path will NOT contain a trailing path separator.
For example, if <filepath> is /usr/arch/mp3/Carisma_SuonoDelSilenzio.mp3 then this function will return /usr/arch/mp3 on UNIX and C:\usr\arch\mp3 on Windows.
See also
[fnc]$file.extractfilename[/file]

Main index, Function index
KVirc 3.0.0 documentation
Generated by root at Sun Sep 7 19:47:12 2003