Win a copy of Android Programming: The Big Nerd Ranch Guide this week in the Android forum!
    Bookmark Topic Watch Topic
  • New Topic

Identify usb port  RSS feed

 
sam liya
Ranch Hand
Posts: 1254
  • Mark post as helpful
  • send pies
  • Report post to moderator
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
Sheriff
Posts: 20968
84
Chrome Eclipse IDE Java Windows
  • Mark post as helpful
  • send pies
  • Report post to moderator
One time is enough.
 
It is sorta covered in the JavaRanch Style Guide.
    Bookmark Topic Watch Topic
  • New Topic
Boost this thread!