From WikiChip
$shortfn Identifier - mIRC
< mirc‎ | identifiers
Revision as of 10:52, 12 June 2017 by Westor (talk | contribs) (Created page with " {{mirc title|$shortfn Identifier}}'''$shortfn(path)''' Returns short version of a long filename. == Synopsis == <source lang="mIRC"> $shortfn(path)</source> == Parameters...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)


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

Synopsis

$shortfn(path)

Parameters

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

Properties

None

Examples

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

It will return for example the "C:\Users\westor\DOCUME~1\mIRC\" short path version of the specified direction.

//echo -a $shortfn(C:\Users\westor\Documents\mIRC\)

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


NOTE: In order to return the short 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