>Hi Jay,
>
>>I get an error on the "FOR" command in DOS. Doesn't recognize it. I'm sure it's user error.
>
>That's because I gave you the batch file syntax for BAT and CMD files. If you want to run the line interactively in the Console window, you need to replace %%i with %i. Sorry for not being more precise in my first reply.
That's ok, but I'm still having a small issue. I typed this into the command window:
FOR /F %i IN ('reg query HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Installer\Products') DO @reg query %i /v ProductName|FINDSTR "ProductName" >c:\temp\apps.txt
And I get an error that there is an invalid key name. Immediately after that, it does seem to run through the tree, but I only get this created in the apps.txt file:
ProductName REG_SZ mMHouse