Hello
I want to read registry string value, from bat file, and then assing the readed value to variable. I tried the following :
FOR %%a in ('REG QUERY HKLM\SOFTWARE\MathWorks\MATLAB\7.10 /v MATLABROOT') DO set MATLAB=%%a
echo %MATLAB%
but it doesn't work.