Detect removable media
Posted on 2004-09-14
I am making some software that syncronizes files on a local hard drive with the files on an USB 2.0 flash drive. The drive is totally plug and play, so after I plug the drive into my USB port, it shows up in my computer as "Removable Disk (G:)"
My question is this: What can I do to
1) Detect when the drive is plugged in
2) Detect what drive letter it is
Thanks for any help, I will up the points if this is very complicated.