Project

General

Profile

$longfn » History » Version 4

Per Amundsen, 02/23/2023 04:24 PM

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 4 Per Amundsen
table(ktable).
10
|*Parameter*|*Description*|
11
| filename | The filename. |
12 1 Per Amundsen
13
*Example*
14
15
<pre>
16 2 Per Amundsen
alias Example {
17
  ; Get the shortfn of AdiIRC.exe
18
  var %short $shortfn($adiircexe)
19 1 Per Amundsen
20 2 Per Amundsen
  ; Print the long filename
21 3 Per Amundsen
  echo -ag $longfn(%short) vs %short
22 2 Per Amundsen
}
23 1 Per Amundsen
</pre>