$shortfn » History » Version 3
Per Amundsen, 02/23/2023 07:39 PM
| 1 | 1 | Per Amundsen | _Added in 1.9.0_ |
|---|---|---|---|
| 2 | |||
| 3 | *$shortfn(filename)* |
||
| 4 | |||
| 5 | Returns the "short version":https://en.wikipedia.org/wiki/8.3_filename of a long filename. |
||
| 6 | |||
| 7 | *Parameters* |
||
| 8 | |||
| 9 | 3 | Per Amundsen | table(ktable). |
| 10 | |*Parameter*|*Description*| |
||
| 11 | | filename | The filename. | |
||
| 12 | 1 | Per Amundsen | |
| 13 | *Example* |
||
| 14 | |||
| 15 | <pre> |
||
| 16 | ; Print the short filename of AdiIRC.exe |
||
| 17 | 2 | Per Amundsen | //echo -ag $shortfn($adiircexe) |
| 18 | 1 | Per Amundsen | </pre> |