Page 1 of 1

ExamineDirectory fails

Posted: Sat Oct 08, 2016 9:00 pm
by k3pto
I have an Ethernet attached storage drive on my system. ExamineDirectory fails when I attempt to access it. Changing the path to a different device works just fine. If I first access the drive using PathRequester to get the path I want, it works fine. It fails when the path is hard coded in the program.

Re: ExamineDirectory fails

Posted: Sun Oct 09, 2016 2:11 am
by Dude
What exactly is hard-coded? Can you post it? Because don't network paths have to use double backslashes (\\) instead of single (\)? We need more info to help.

Re: ExamineDirectory fails

Posted: Sun Oct 09, 2016 7:50 pm
by k3pto
Hi Dude,

The path is hard coded as a string. The network drive is mapped to my system as a "local" drive. The string is identical to the string I get when I use PathRequester.
However, I just tried a test using the network path name with the "\\" and it worked! So, at least now I have a work-around.

I still do not understand why PathRequester works using the logical drive assignment but ExamineDirectory does not when using an identical text string.


Thank you.