Code: Select all
Volume 8 F Windows Sev NTFS Partition 422 MB Healthy System
Volume 9 Test1 NTFS Partition 100 MB Healthy
Volume 10 G Test3 NTFS Partition 49 GB Healthy
Volume 11 FAT32 Partition 0 B Healthy
Volume 12 H DS1 NTFS Partition 499 MB Healthy
How to separate the Volume lines without Drive Letters (and some also without Labels), saving their Volume numbers into variables? If that's going to be !expandable! variable, pls show some code how to separate its content afterwards. Note that Volume Label can be shifted within its field left or right. I tried to use FOR /F, but several "empty" characters are substituted by one, so get nothing useful. What's better to use: Find or Findstr, and what string to look for? If you believe, the task is simple, pls give the code example instead of words.
