You are on page 1of 1

/********************************/ LISTAR PROGRAMAS INSTALADOS /*******************************/ @echo off IF EXIST C:\listadoProgramas.txt del C:\listadoProgramas.

txt Reg Query HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall /S >C:\listad oProgramas.txt For /f "tokens=3 delims= ') do echo %%a " %%a in ('find "DisplayName" C:\listadoProgramas.txt

@echo off regedit /a %TEMP%\filename.reg "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\Cu rrentVersion\Uninstall" for /f "Skip=1 Tokens=*" %%i in ('type %TEMP%\Filename.reg') do set line="%%i"&c all :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%

You might also like