ExamineDirectory fails

Everything else that doesn't fall into one of the other PB categories.
k3pto
User
User
Posts: 87
Joined: Sat Jan 17, 2015 5:24 pm

ExamineDirectory fails

Post 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.
Dude
Addict
Addict
Posts: 1907
Joined: Mon Feb 16, 2015 2:49 pm

Re: ExamineDirectory fails

Post 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.
k3pto
User
User
Posts: 87
Joined: Sat Jan 17, 2015 5:24 pm

Re: ExamineDirectory fails

Post 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.
Post Reply