From WikiChip
Difference between revisions of "mirc/identifiers/$longfn"
(→Examples) |
m |
||
| Line 1: | Line 1: | ||
| + | {{mirc title|$longfn Identifier}}'''$longfn(path)''' returns long version of a short filename. | ||
| − | |||
| − | |||
== Synopsis == | == Synopsis == | ||
| Line 8: | Line 7: | ||
== Parameters == | == Parameters == | ||
| − | |||
'''* Path''' = ''The direction/path that you want to check for.'' | '''* Path''' = ''The direction/path that you want to check for.'' | ||
== Properties == | == Properties == | ||
| − | |||
None | None | ||
| Line 23: | Line 20: | ||
It will return "'''C:\Users\westor\Documents\mIRC\'''" long path version of the short version one that you have specified. | 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. | '''NOTE:''' In order to return the long version of the path, the path MUST be exists. | ||
| Line 30: | Line 26: | ||
{{mIRC compatibility|5.7}} | {{mIRC compatibility|5.7}} | ||
| − | == See | + | == See also == |
| − | |||
| − | |||
* {{mIRC|$exists}} | * {{mIRC|$exists}} | ||
* {{mIRC|$isdir}} | * {{mIRC|$isdir}} | ||
* {{mIRC|$mircdir}} | * {{mIRC|$mircdir}} | ||
| + | * {{mIRC|$shortfn}} | ||
| + | {{mIRC identifier list}} | ||
| + | [[Category:mIRC identifiers|longfn]] | ||
Revision as of 16:34, 20 September 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($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
mIRC identifier list