title: Accessing mapped network drive from ColdFusion
body: <p>I am having a problem accessing a mapped drive in ColdFusion. I have <code>\\server\files\sharing</code> mapped to <code>z:\</code>.  If I run this code, it says the directory exists for the full path but not for the mapped one:</p>
  
  <pre><code>&lt;cfscript&gt;
    fullPath = "\\server\files\sharing\reports";
    mappedPath = "z:\reports";
  
    WriteOutput("fullPath exists: #DirectoryExists(fullPath)#&lt;br/&gt;"); //YES
    WriteOutput("mappedPath exists: #DirectoryExists(mappedPath)#");  //NO
  &lt;/cfscript&gt;
  </code></pre>
  
  <p>I have done some Googling and have found a few people with the same problem, but the solution was always to use the full path.  Is there a reason ColdFusion wouldn't be able to see or access the mapped drive? And if so, are there any workarounds (maybe a system call to get the full path of the mapped drive)?</p>