From WikiChip
Difference between revisions of "mirc/identifiers/$longfn"
< mirc‎ | identifiers

(Examples)
(Examples)
Line 16: Line 16:
  
 
== Examples ==
 
== Examples ==
<source lang="mIRC">//echo -a $longfn($mircdir)</source>
+
<source lang="mIRC">//echo -a $longfn($shortfn($mircdir))</source>
  
 
It will return for example the "'''C:\Users\westor\Documents\mIRC\'''" long path version of the specified direction.
 
It will return for example the "'''C:\Users\westor\Documents\mIRC\'''" long path version of the specified direction.

Revision as of 10:47, 12 June 2017


$longfn(path) Returns long version of a short filename.

Synopsis

$longfn(path)

Parameters

* Path = The direction/path that you want to check for.

Properties

None

Examples

//echo -a $longfn($shortfn($mircdir))

It will return for example the "C:\Users\westor\Documents\mIRC\" long path version of the specified direction.

//echo -a $longfn(C:\Users\westor\DOCUME~1\mIRC\)

It will return "C:\Users\westor\Documents\mIRC\" long path version of the short version one that you have specified.


NOTE: In order to return the long version of the path, the path MUST be exists.

Compatibility

Added: mIRC v5.7
Added on: 02 Feb 2000
Note: Unless otherwise stated, this was the date of original functionality.
Further enhancements may have been made in later versions.


See Also