title: Cannot Create Directory error
body: <p>I am trying to create a directory if it does not exist.  It correctly goes into the code to create the directory because it doesn't exist.  But then it gives me the following error:</p>
  
  <p>DirectoryNotFoundException was unhandled</p>
  
  <p>Could not find part of the path "\192.168.22.2\2009"</p>
  
  <pre><code>var fileYear = createdDate.Value.Year.ToString();
  var fileMonth = createdDate.Value.Month.ToString();
  var rootDir = @"\\192.168.22.2";
  
  if (!File.Exists(Path.Combine(rootDir,fileYear)))
       {
            // Create the Year folder
            Directory.CreateDirectory(Path.Combine(rootDir,fileYear));
       }
  </code></pre>