I need some information regarding the APIs to use, to get the drive letter, if I know the label of that drive.
For eg, my hard disk has been partitioned into 3 drives, C:, D:, E:. The labels (label1, label2, label3 )for these drives have been assigned dynamically. I want to locate a file ABC.txt which would be in the drive, of which voulme label is "Label2".
can anyone suggest the API to use, or can this be achieved thru batch script, if so, pl provide the required batch commands.