Navigation:  thinBasic Modules > LAN >

LAN_GetUniversalName

Previous pageReturn to chapter overviewNext page

 

Description

 

Returns the universal name of a local path.

 

Syntax

 

sReturn = LAN_GetUniversalName(sLocalPath)

 

Returns

 

String.

 

Parameters

 

Name

Type

Optional

Meaning

sLocalPath

String

No

Local name of the resource

 

Remarks

 

An example:

Imagine you have mounted on drive letter K: the shared resource \\MyServer\MyShareName

A file stored into K:\ will have the form K:\MyFile.txt

LAN_GetUniversalName("K:\MyFile.txt") will return "\\MyServer\MyShareName\MyFile.txt" string.

 

Restrictions

 

See also

 

Examples