0
Properties.Settings.Default.Local_Server = "localhost";
Properties.Settings.Default.Save();
System.IO.Directory.CreateDirectory(@"\\"+ Properties.Settings.Default.Local_Server + "\\Documents\\Elite Software Suite");

I keeping getting this error "The network name cannot be found" any help?

Bluevels
  • 29
  • 5
  • 1
    If you're going to use a UNC path, then it has to be a defined "share", even if it is localhost. You can try `@"\\localhost\c$\Documents..."`. – Tim Roberts Mar 27 '23 at 23:35

0 Answers0