| 1. |
Solve : Reading a registry? |
|
Answer» Okay, so I am writing a SCRIPT to INSTALL "local" printers via IP addresses, and have found that I need to make modifications to the registry in order to do so. In Windows 7 HOWEVER, they have introduced a new key into the TCP/IP Port registry keys called "PortMonMibPortIndex" which essentially just tells the registry what order the ports are listed in. This presents a problem for me THOUGH, as I am wanting to write this script to install the port to the next available Index number. What I am looking for is for a way to tell how many folders(/keys) are within a folder in the registry. Output the 'folder' in the registry through the find command using /c and you can get a count. If you need an exact command, and you can show the registry information that you need to count, then one of use can provide it for you. |
|