munge.exe, who's got it?

bigflavor

Weaksauce
Joined
Nov 24, 2004
Messages
78
I can't seem to find munge.exe anywhere.

I know it's on the NT4 resource kit, supplement 4; but I can't find that, and I can't just find the simple file.

I need it for scripting, because i'm trying log if commands are successful and the only way I can do that is to pipe results into a file using find, then use if statements with munge to change a file's contents to a number.

anyone got any other ideas?

does anyone know where i can get munge?

thanks,

Matt
 
thanks tink.

actually what iw as trying to do is parse output from a command and validate it.

i ended up using the following ex to complete my script:


echo "blah bliggity blag" | find "blah" > test.txt
:: this will put the entire line "blah bliggity blag" into test.txt

for /f "token=1 delims= " %G in test.txt do set %g=%validation%

if %validation%="blah" then echo The processed string contains "blah" as it's first word, seperated by a [space].



So you see... you can run a command like schtasks and validate the output even though it doesn't produce an error code.

Peace,

Matt
 
Back
Top