The output of the below code only takes the first word of each line. I want to see if the disk DYN or not.
@echo off
diskpart /s test9.txt
for /f %%i in ('diskpart /s test9.txt') do echo %%i
Code Outputs: Disk
[Dashed Lines]
Disk
How do I get the whole line?