03-18-2008, 09:02 PM
works great!
thanks.
thanks.
;assuming you have highlighted a file in WinExplorer
;and that it is on a mapped network drive.
ARRAY(str) a
str b s
int n e
lpstr unc
s.all(500)
'Cc
GetClipboardFiles a
b=a[0]
s.all(500)
n=500
e=WNetGetUniversalName(b UNIVERSAL_NAME_INFO_LEVEL s &n)
if(e) end _s.dllerror("" "" e)
memcpy &unc s 4
out unc