From WikiChip
Difference between revisions of "mirc/identifiers/$longfn"
(Created page with " {{mirc title|$longfn Identifier}}'''$longfn(path)''' Returns long version of a short filename. == Synopsis == <source lang="mIRC"> $longfn(path)</source> == Parameters ==...") |
(→Example) |
||
Line 15: | Line 15: | ||
None | None | ||
− | == | + | == Examples == |
<source lang="mIRC">//echo -a $longfn($mircdir)</source> | <source lang="mIRC">//echo -a $longfn($mircdir)</source> | ||
Revision as of 09:46, 12 June 2017
Commands & Identifiers
Basics
Events
Matching Tools
Data Storage
Control Structures
GUI Scripting
Sockets
Advanced Scripting
Additional Resources
Security
Other
$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($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.