AppCtrlScript

MAY Computer

Help

GETFILENAMEFROMLINK

Applies to  

AppCtrlScript (Module: wmACScr1.dll)

Group  

String

See also  

GETURLLINKTOFILE

Returns a windows/dos like file path and name for a given URL link to a file (weblink beginning with file://[/]).

Syntax

GETFILENAMEFROM[URL]LINK <VariableName>[, <URLLink>][, <PreserveOtherLinks>]

Part

Description

<VariableName> Name of the script variable where to store the resulting filename.
<URLLink>

URL link to a file (file://[/]<PathAndFileName>).

<PreserverOtherLinks>

0|1; if 1 then links other than file://[/] are kept in it's original. If 0 then for other links the result is an empty string. Default is 1.