Steve=dead_set_legend
Thanks for your help, I used that script to determine the volume number and used that to run either set 0 or set 1 of a similar set of scripts on the RIGHT volume.
Thanks for your help
JB3K
Thanks SF but this gave me partition numbers relating to the disk rather than the volume number.
What would work too I guess is if I could search the text output from running diskpart and then run a particular script if this was T or F. But I must admit my scripting days are few. Is this...
well specifically, if I use the resource kit utility 'diskpart' which is command line control of Disk Manager, then a volume has:
volume number
drive letter
volume name
and more
the volume number is what i need to reference.
Does anyone know a way to return the Volume Number? I see there are DriveLetter and VolumeName options, but I really need to know the Volume Number before commiting a drive letter change in the script. Any ideas?
Many thanks
JB3K
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.