Added in 1.9.0

$nofile(filename)

Returns the path in filename without the actual filename.

Parameters

Parameter Description
filename The filename to extract the path from.

Example

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