From WikiChip
Difference between revisions of "mirc/identifiers/$longfn"
(→Example) |
(→Examples) |
||
Line 23: | Line 23: | ||
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. |
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.