title: Getting Portable Devices using java
body: <p>I am trying to access some files in a device (having <b>"windows CE"</b> application in it) that appears as <b>portable device</b> in windows 7 using java applet....</p>
  
  <p>My device path is like <pre> "Computer\Attari's Device\myfile.txt" </pre> Now i am trying to access file from it using the same address but it gives path error or file not found.</p>
  
  <p>Similarly i used <pre>"\\.\Attari's Device\myfile.txt"</pre> but it resulted in same error tell me how to access portable devices using java applet</p>
  
  <p>When i navigate to connected device and right-click on file and see it's properties then it shows it's location as</p>
  
  <pre>Location:  Computer\Attari's Device</pre>
  
  <p>Also when i open this file it is automatically placed in <b>temp</b> files of my computer.
  I am using Signed Applet as well so there is no issue of file access denied</p>
  
  <p>I also used <pre>File.listRoots()</pre> but it also does not list attached portable devices
  I have to write some file in portable device using java applet</p>