wood burning stoves 2.0*
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 Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » I/O and Streams
Reply locked New topic

Identify usb port

sam liyanage
Ranch Hand

Joined: Nov 25, 2008
Posts: 1073
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 programm.it 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: 19655

One time is enough.

How To Ask Questions How To Answer Questions
Don't get me started about those stupid light bulbs.
subject: Identify usb port
Similar Threads
Any ideas for xmas gifts for a programmer?
Camera/Consumer stuff
Write to usb port
identify usb port
How to write program to copy all data on flash drives when it plug into usb port.can it do using