WntAccess... Functions and Specifying Remote Server Drives
Keywords: wntaccesslist wntaccessget
Question:
In the following code:
wntAccessList("\\STLDS", "D:\", 300, 0)
when I specify "C:\" as the second parameter, it works fine, but when I specifying "D:\"
on the remote server, it doesn't return anything. I've checked all my share permissions
and everything seems set up properly. Ideas?
Answer:
To specify a remote server drive, you need to give the full UNC path, as in:
wntAccessList("\\STLDS", "\\STLDS\D$\", 300, 0)
Article ID: W13568
Filename: wntAccess... and Specifying Remote Drives.txt