_Added in 1.9.0_ *$nopath(filename)* Returns filename without a path if it has one. *Example*
; Print the filename for the path 'c:\windows\notepad.exe'.
//echo -ag $nopath(c:\windows\notepad.exe)