Jump to content

rzwood

Member
  • Posts

    1
  • Joined

  • Last visited

  • Donations

    0.00 USD 
  • Country

    Germany

About rzwood

rzwood's Achievements

0

Reputation

  1. Hi, I'm trying to use DiskPart to assign new mount points to Dynamic Drive Simple Volumes from a script. I've found that if I call diskpart /s with a script that does a 'list vol', each time I call it, the Dynamic Disk volumes may have a different volume index, which makes it pretty much useless for scripting since I need to associate a disk with specific label to a specific mount point. eg. I call diskpart with 'list vol' Then, within a perl script, I was hoping to use the volume index associated with the label I'm interested in. I then call diskpart again and do 'select volume <index>' followed by 'assign mount=<new-path>' But this doesn't work because each time you enter diskpart, it renumbers the volume indices. It doesn't do this for basic disks though. Does anyone know of an alternative way of doing what I'm trying to do ? Many thanks Richard
×
×
  • Create New...