Once upon a time, I was asked to help automate a process of copying files to an External Drive. The issue was that when they plugged the device (external drive) into various machines, the associated drive letter wasn’t always the same. They also didn’t want me to use the Drive’s Serial Number as the identifier in case it died and they needed to replace it.
Instead, the solution was to bind to the Drive’s name. This way, if ever the drive was switched, all they needed to do was rename it in the same manner and the process would continue to work.
Now that we knew what we wanted to do, the question then became how could we do so?!
Continue reading