I truly cannot believe I have to ask this, but after searching countless times and finding nothing online on how to do this, I must ask.
I already know about the "label" command. While it does output the label if you do:
... the purpose of the command is to change/set it -- not read it, so it asks for input in the end, and there are no flags to turn that off, so it sadly cannot be used. I have looked in:
Basically, forget about that command. I need something which outputs the label for the drive letter and then stops.