$nofile

From Scriptwiki
Jump to: navigation, search

Returns path with the filename stripped.

$nofile(<path/filename>)

Examples

$nofile(c:\mirc\mirc.exe)  returns c:\mirc\
$nofile(c:\mirc\) returns c:\mirc\
$nofile(\mirc\mirc.exe) returns \mirc\
$nofile(c:\mirc) returns c:\
$nofile(mirc.exe) returns null.