tfield98
asked on
FindFirst/FindNext on UNC drive
I'm having trouble getting any files back when calling FindFirst on a UNC Drive, as in FindFirst('\\Dev-dx\*.*')
It always comes back false.
Is this a rights issue?
I can browse the top level list of folders on this drive in the Windows Explorer. I can examine the contents of some of them in the Windows Explorer. Some of them are locked by our system administrator from further examination. But, I thought that FindFirst should allow me to ennumerate the folders to which I have rights?
It always comes back false.
Is this a rights issue?
I can browse the top level list of folders on this drive in the Windows Explorer. I can examine the contents of some of them in the Windows Explorer. Some of them are locked by our system administrator from further examination. But, I thought that FindFirst should allow me to ennumerate the folders to which I have rights?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
What I meant by "should work", is that FIndFirst should work fine (does for me) with a correct UNC path,
ASKER
With your answer, I realized I'll have to ennumerate ShareNames before calling FindFirst. A quick Google took em to WNetOpenEnum, which I believe is the tool I need to get started. Thanks!!