$nopath » History » Version 2
Per Amundsen, 02/23/2023 06:38 PM
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 | 2 | Per Amundsen | *Parameters* |
8 | |||
9 | table(ktable). |
||
10 | |*Parameter*|*Description*| |
||
11 | | filename | The filename/path to get the filename from. | |
||
12 | |||
13 | 1 | Per Amundsen | *Example* |
14 | |||
15 | <pre> |
||
16 | ; Print the filename for the path 'c:\windows\notepad.exe'. |
||
17 | //echo -ag $nopath(c:\windows\notepad.exe) |
||
18 | </pre> |