Quantcast
Channel: The Official Scripting Guys Forum! forum
Viewing all articles
Browse latest Browse all 15028

Diskpart, drive letter removal using a wildcard

$
0
0

I am trying to write a diskpart script to automatically set a drive letter to "F" the disk is always plugged into the same port, but anytime the computer reboots it assigns a different drive letter, but it never hands out the "F" letter to any other drives.

The problem is it assigns a different letter each and every time, so I need to use some type of wildcard for the drive letter, the volume number never changes, but unless you know the drive letter you can't change the letter, therefor I can't use a script to do this when the computer starts up.


Viewing all articles
Browse latest Browse all 15028

Trending Articles



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