Batch File Question
Posted on 2004-04-02
Ok, this is probably an easy answer, but I'm new to scripting so here goes.
I would like to know the answer one or both of the following questions...
1. Is there a way to look for a specific data string in a specific registry key and then create a file based on wether that data string exists? eg. search the key "HKEY_LOCAL\SOFTWARE\Microsoft\Windows\CurrentVersion\Internet Settings" for data "sp1" in the String Value called MinorVersion. Then, if (and only if) the data exists, create a reference file called ie6sp1_installed.txt.
2. After exporting that key to a text file called Reg_IESettings.txt, search the text file for the string "sp1" and then create a new text file in the same manner as the above question.
I appreciate any help in this area.