$longfn » History » Version 2
Per Amundsen, 08/12/2015 09:42 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 | 2 | Per Amundsen | alias Example { |
| 15 | ; Get the shortfn of AdiIRC.exe |
||
| 16 | var %short $shortfn($adiircexe) |
||
| 17 | 1 | Per Amundsen | |
| 18 | 2 | Per Amundsen | ; Print the long filename |
| 19 | echo -ag $longfn(%short) |
||
| 20 | } |
||
| 21 | 1 | Per Amundsen | </pre> |