dos_ispathunc

判断字符串是否是有效的UNC路径.


语法

(dos_ispathunc path)

参数

path

等判断的路径.

返回

T 如果路径是UNC路径.

nil 如果不是或失败时.

示例

Command: (dos_ispathunc "C:\\Program Files\\AutoCAD 2006\\")

nil

 

Command: (dos_ispathroot "\\\\Server\\Shared Folder")

T