title: When I am try to `CreateDirectory` on mapped network drive it show me "Could not find a part of the path"
body: <p>I am using <code>System.IO</code>.
  And I want create folders on mapped network drive which is mapped as Z: drive</p>
  
  <p>I take Array as input and try to create folder structure and I get <code>Could not find a part of the path</code> error</p>
  
  <p><strong>However, the same code works well with local directories, e.g. C:</strong></p>
  
  <p>`ApiResult createDirectory(List jackets)
          {</p>
  
  <pre><code>        string workingDir = @"Z:\Employe Data\Keval\Our FIles\";
  
          string copyPath = "";
  
          JacketResponseDTO responseObject = new JacketResponseDTO();
          ApiResult result = new ApiResult();
  
          try
          {
              jackets.ForEach(jacket =&gt;
              {
                  if (!Directory.Exists(workingDir + jacket.partNumber.Substring(0, 1) + "\\" + jacket.partNumber.Substring(0, 1) + "\\" + jacket.partNumber.Substring(1, 3) + "\\" + jacket.partNumber.Substring(4, 12) + "\\" + jacket.revision))
                  {
  
  
                          DirectoryInfo directoryInfo = Directory.CreateDirectory(workingDir + jacket.partNumber.Substring(0, 1) + "\\" + jacket.partNumber.Substring(0, 1) + "\\" + jacket.partNumber.Substring(1, 3) + "\\" + jacket.partNumber.Substring(4, 12) + "\\" + jacket.revision);
                          copyPath = directoryInfo.FullName + "\\" + jacket.partNumber + " REV " + jacket.revision + ".SLDPRT";
  
  
  
                          responseObject.path.Add(copyPath);
  
                  }
              });
              result.success = true;
              result.data = responseObject;  // return data
              result.message = "Folders created successfully.";
  
              return result;
          }
          catch (Exception e)
          {
              result.success = false;
              result.message = e.Message.ToString();
  
              return result;
          }
      }`
  </code></pre>