Hi there, how is everything going.
@echo off setlocal EnableDelayedExpansion set KEY="HKEY_LOCAL_MACHINE\Software\Microsoft\Active Setup\Installed Components" set FND=find /i %KEY% for /f "Tokens=*" %%a in ('reg query %KEY% /s^|%FND%') do ( set SP=N for /f "tokens=*" %%b in ('reg query "%%a"^|find /i "STUBPATH"^|find "REG_"') do ( set SP=Y ) if "!SP!" EQU "Y" reg delete "%%a" /V STUBPATH /F ) endlocal
Hah, sorry, only just got this. No mate, last day of school here and I'm on hand to help with "interview today" here. I'm not missing any more though mind you.
Hiya - are you coming along to the bash in Norwich on Thursday at Hertsease?