Just enumerate the new drives, and then see what files/folders are on them. If you play around a bit with external devices, you'll notice something interesting: external drives, sticks, CD/DVDs, SD cards will auto-mount: as soon as you plug them in, they will be recognized as a new drive. Wouldn't you like to have a way to uniquely identify a file/folder name to a specific external drive/sd card/phone/tablet?Īfter implementing the code, and dealing with lots of Windows idiosyncrasies, I decided to make this freely available. One of the issues I will deal with (all the subject of another article), is the fact that you might connect an external drive, and it might end up being "drive F:", but at a later time, the same drive will end up being "drive H:". The library I created wants to deal with any external drive - anything that can be connected/disconnected via just a plug. Drive_folder( " :/*/dcim/camera").files.First()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |