This week's book giveaway is in the Big Data forum.
We're giving away four copies of Elasticsearch in Action and have Radu Gheorghe & Matthew Lee Hinman on-line!
See this thread for details.
The moose likes I/O and Streams and the fly likes Identify usb port Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Elasticsearch in Action this week in the Big Data forum!
JavaRanch » Java Forums » Java » I/O and Streams
Reply locked New topic

Identify usb port

sam liya
Ranch Hand

Joined: Nov 25, 2008
Posts: 1238
i need to write programm to usb prot when i plug flash drive to usb port it copy all data on it to the hard drive.but the problem is the drive letter of the usb port change time to time.i wrote a is working but i need to identify usb drive letter automatically when flash drive plug to it.can you help me.
Rob Spoor

Joined: Oct 27, 2005
Posts: 19911

One time is enough.

How To Ask Questions How To Answer Questions
I agree. Here's the link:
subject: Identify usb port