Addressing a Thumb Drive in Software

I am interested in being able to embed code which address data on a thumb drive.  Is there a way to get around the dynamic drive letter assignment so that my software can always find the thumb drive when it is attached to a client computer.

Thanks,
Fred Herring


Answer this question

Addressing a Thumb Drive in Software

  • KnightRider

    Not that I am aware of. Windows does a "fairly decent" job of it, assuming that you only unplug and plug a specific thumb drive. I am not aware of any standard addressing method that can be used to access a specific thumb or disconnectable drive

    The only thing I could ever think of is enumerating all drives and being able to retrieve the device media's serial number perhaps Or perhaps retrieve the device media's name - assuming that you will never have 2 thumdrives with the same name.

  • Trans_Am77

    One possible approach would be to enumerate all of the available drives and checking them.  You could check for the volume name of the drive, or for a special file on the drive, etc.

    Richard

  • Addressing a Thumb Drive in Software