Quantcast
Channel: File Services and Storage forum
Viewing all articles
Browse latest Browse all 7579

How to get the drive letter of a Volume using command prompt

$
0
0

Using windows command line tools i want to get the drive letter of a volume, by specifying its volume number.

For example i have a HDD with 2 volumes: Volume-0 and Volume-1

I want to set a Variable say 'Letter'=<Drive Letter> such as

Set /p Letter=<Command> <Volume Number>

Is there any command which can do this for me...

Thanks...


Viewing all articles
Browse latest Browse all 7579

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>