Please enable JavaScript to view this site.

thinBasic Help Manual

* * HELP & MANUAL PREMIUM PACK 4 DEMO VERSION * *

This documentation was styled with a demo skin from the Premium Pack 4 add-on for Help & Manual. The contents of the skin are encrypted and not configurable. You can only publish HM projects with this skin. You cannot edit it or change it.

This version is copyright and may only be used for local testing purposes. It may not be distributed.

Please purchase the full version of the Premium Pack to get the configurable skins and remove this notice. The package will also include the Toolbox configuration utility for Premium Pack skins.

 

Description

 

Determines if a string is a valid Universal Naming Convention (UNC) for a server path only.

 

Returns %TRUE if sPath is UNC server only. %FALSE if not.

 

Syntax

 

n = Path_IsUNC(sPath)

 

Returns

 

Number.

 

Parameters

 

Name

Type

Optional

Meaning

sPath

String

No


 

Remarks

 

Universal Naming Convention: a standard for identifying servers, printers and other resources in a network, which originated in the Unix community. A UNC path uses double slashes or backslashes to precede the name of the computer. The path (disk and directories) within the computer are separated with a single slash or backslash, as in the following examples. Note that in the Windows example, drive letters (c:, d:, etc.) are not used in UNC names.

 

   //servername   Unix server
 
   \\servername   Windows server

 

Restrictions

 

See also

 

Examples

 

 

 

 

 

Created with Help+Manual 8 and styled with Premium Pack Version 4 © by EC Software