Directory.Exists returning wrong results

J

JohnFol

I have mapped a drive letter p: to a server\share. Within the drive is a
direcotry. If I Start/Run p:\Dir I can see the files.

Now, in code I do the following:

? System.IO.Directory.Exists("p:\Dir")
and get false.

Any ideas?
 
J

JohnFol

Might have solved this. The app (in this case a windows service needs to be
running under a domain account)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top