$longfn » History » Version 1
Per Amundsen, 08/09/2015 02:19 AM
| 1 | 1 | Per Amundsen | _Added in 1.9.0_ |
|---|---|---|---|
| 2 | |||
| 3 | *$longfn(filename)* |
||
| 4 | |||
| 5 | Returns the "long version":https://en.wikipedia.org/wiki/Long_filename of a short filename. |
||
| 6 | |||
| 7 | *Parameters* |
||
| 8 | |||
| 9 | filename - The filename. |
||
| 10 | |||
| 11 | *Example* |
||
| 12 | |||
| 13 | <pre> |
||
| 14 | ; Get the shortfn of AdiIRC.exe |
||
| 15 | var %short $shortfn($adiircexe) |
||
| 16 | |||
| 17 | ; Print the long filename |
||
| 18 | echo -ag $longfn(%short) |
||
| 19 | </pre> |