Environment variable for volume names in Windows?
- by Shinrai
I'm trying to write a batch file that will look at the volume label of the current drive and report if it's not equivalent to a certain string.
Is there a default variable in the shell for this? Can I define one? Am I SOL and I'll actually have to do some (shudder) programming?
EDIT: If this is possible in PowerShell that would work fine.
(For…