$nofile: Difference between revisions

From Scriptwiki
Jump to navigation Jump to search
No edit summary
 
(No difference)

Latest revision as of 14:35, 4 April 2008

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.