mastermindg
IS-IT--Management
- Jan 28, 2009
- 7
So, I've got a script that reads multiple config files for matches (maxconnection) and then outputs if it found a match or not.
I want to visually confirm the match to verify settings in the file:
<add address="*"
maxconnection="2"
/>
This should output as "MaxConnections are set to 2".
The problem is that it seems that character(1) is 1 character after the line that maxconnection is on, because when I do a Read (objFile.Read or ObjFile.ReadLine) is only ouputs this:
/>
Choosing add address is out of the question because this phrase is prevalent in the file.
Any help is appreciated. Thanks.
I want to visually confirm the match to verify settings in the file:
<add address="*"
maxconnection="2"
/>
This should output as "MaxConnections are set to 2".
The problem is that it seems that character(1) is 1 character after the line that maxconnection is on, because when I do a Read (objFile.Read or ObjFile.ReadLine) is only ouputs this:
/>
Choosing add address is out of the question because this phrase is prevalent in the file.
Any help is appreciated. Thanks.