What you want to achieve is not fully clear, anyway to store the output of a command (just ONE line) into a variable the For /F statement must be coded for /F "delims=" %%i in ('Here the command') do set var=%%i
The information on Computing.Net is the opinions of its users. Such
opinions may not be accurate and they are to be used at your own risk.
Computing.Net cannot verify the validity of the statements made on this
site. Computing.Net and Purch hereby disclaim all responsibility
and liability for the content of Computing.Net and its accuracy.