Im working on creating a batch file to open my USB drive whenever i run it.
I dont want it to run AUTOMATICALLY as soon as i stick my usb in though.
I was thinking along the lines of the name of the USB.
So if i had named my USB "SpeedyUSB" it can open it.
I have some code so far that will open a certain drive letter if that drive letter is in use, this is my code:
This opens E:\ in explorer (not Internet Explorer, just a normal window like My Music etc)
Now how do i do the same thing using my USB drive's name so that no matter what USB drive letter it has, it will always open?
Any help much appreciated,