$nopath » History » Version 1
Per Amundsen, 08/11/2015 06:18 AM
| 1 | 1 | Per Amundsen | _Added in 1.9.0_ |
|---|---|---|---|
| 2 | |||
| 3 | *$nopath(filename)* |
||
| 4 | |||
| 5 | Returns filename without a path if it has one. |
||
| 6 | |||
| 7 | *Example* |
||
| 8 | |||
| 9 | <pre> |
||
| 10 | ; Print the filename for the path 'c:\windows\notepad.exe'. |
||
| 11 | //echo -ag $nopath(c:\windows\notepad.exe) |
||
| 12 | </pre> |