Código:
@echo off regedit /a %TEMP%\filename.reg "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall" for /f "Skip=1 Tokens=*" %%i in ('type %TEMP%\Filename.reg') do set line="%%i"&call :parse goto :EOF :parse set work=%line:~2,11% set work=%work:"=% If NOT "%work%" EQU "DisplayName" goto :EOF set work=%line:~16,120% set work=%work:"=% @echo %work%