$nofile » History » Version 2
  Per Amundsen, 02/23/2023 06:28 PM 
  
| 1 | 1 | Per Amundsen | _Added in 1.9.0_ | 
|---|---|---|---|
| 2 | |||
| 3 | *$nofile(filename)* | ||
| 4 | |||
| 5 | Returns the path in filename without the actual filename. | ||
| 6 | |||
| 7 | 2 | Per Amundsen | *Parameters* | 
| 8 | |||
| 9 | table(ktable). | ||
| 10 | |*Parameter*|*Description*| | ||
| 11 | | filename | The filename to extract the path from. | | ||
| 12 | |||
| 13 | 1 | Per Amundsen | *Example* | 
| 14 | |||
| 15 | <pre> | ||
| 16 | ; Print the path 'c:\windows\notepad.exe' without the filename. | ||
| 17 | //echo -ag $nofile(c:\windows\notepad.exe) | ||
| 18 | </pre> |