title: Windows 7 and Eclipse, how to run Main applications that hit a samba mount
body: <p>I just moved applications from WindowsXp to Windows7.  I run several applications through the Eclipse run configuration manager setup.</p>
  
  <p>Most of the applications access a samba mount/network drive using the UNC path.  With this approach, the path shows up as "directory does not exist".  If I run the application from within Windows explorer, the application runs fine.</p>
  
  <p>I am sure this is related to Windows7 new security model.  I was just curious if there is way to run my application like I did with WindowsXP.</p>
  
  <p>Here is an example approach:</p>
  
  <pre><code>new File("\\\\myserver\\myFile.txt").exists();`
  </code></pre>
  
  <p>If I run the code from a main application through Eclipse, it will return "true" on windowsXP and false on windows 7.</p>
  
  <p>I need it to exist for windows 7.</p>
  
  <p>INSIDE OF ECLIPSE, THIS DOES NOT WORK.  But running OUTSIDE OF eclipse, say through windows explorer, it works fine.  Also, Eclipse is running as administrator.</p>