M
Mr. Novice
Hello, I'm wanting to search for a drive letter in the
output listed below and when it finds a matching drive
letter, set a variable to equal the second token from the
line below it. For example, if I search for C:\ a variable
would be set to equal 90 or if I search for D:\ a variable
would be set to equal 95. Does anybody know how to do this?
Thanks!
Chad
ntStatusFSDriveLetter "C:\"
ntStatusFSPcntCritical 90
ntStatusFSDriveLetter "D:\"
ntStatusFSPcntCritical 95
ntStatusFSDriveLetter "W:\"
ntStatusFSPcntCritical 95
output listed below and when it finds a matching drive
letter, set a variable to equal the second token from the
line below it. For example, if I search for C:\ a variable
would be set to equal 90 or if I search for D:\ a variable
would be set to equal 95. Does anybody know how to do this?
Thanks!
Chad
ntStatusFSDriveLetter "C:\"
ntStatusFSPcntCritical 90
ntStatusFSDriveLetter "D:\"
ntStatusFSPcntCritical 95
ntStatusFSDriveLetter "W:\"
ntStatusFSPcntCritical 95