Added in 1.9.0

$nopath(filename)

Returns filename without a path if it has one.

Parameters

Parameter Description
filename The filename/path to get the filename from.

Example

; Print the filename for the path 'c:\windows\notepad.exe'.
//echo -ag $nopath(c:\windows\notepad.exe)