Returns the name of a connected network resource.
wntGetCon(local name)
(s) local name local drive name or printer resource (ie.,LPT1).
(s) name of a network resource.
wntGetCon returns the name of the network resource currently connected to a 'local name'. If the resource is not mapped a null string will be returned.
; Load Appropriate Extender AddExtender('wwwnt34i.dll',0,'wwwnt64i.dll')
netrsrc=wntGetCon("K:") If netrsrc=="" Then Message("Drive K: is","not mapped") Else Message("Drive K: is mapped to",netrsrc) Exit