I am trying to read all of the files under a specified starting directory. The code I am using is:
ThisPathItems.AddRange(Directory.GetFiles(lblIPPath.Text, "*.*", SearchOption.AllDirectories));
foreach (string pn in ThisPathItems)
{
strCDFPathName = Path.GetDirectoryName(pn); //...
I set up a folder on my desktop that I want to share with my network. One of my laptops can access it, with no problem. Two other laptops get "access denied" messages. Since I can get to the shared folder from one of my PCs I am assuming that I did the sharing correctly. Why in the world can't...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.