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

Determine the operating system volume automatically

$
0
0

Hi Guys,

I have 2 different kinds of computers:

PC1= DVD/CD Drive installed

PC2= Without DVD /CD Player

Now when I boot into WinPE, and list volume I received the output like this:

PC1= Volume 0    -------> DVD/CD

PC2= Volume 0    ------------> Windows OS volume

Question is can we determine in some way automatically WHAT is the volume number for OS volume when booted to WinPE.

Purpose is to format the OS volume in WinPE for PCs with and without DVD player automatically using diskpart.


N.A.Malik


Viewing all articles
Browse latest Browse all 15028

Trending Articles



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