Make a bat fil like this:
--
@echo off
echo syntax batfilenavn.bat messagefil to test
SNFclient.exe %1
echo %errorlevel%
pause
--
If it display zero the message is clean.
Hello,
I am evaluating Message Sniffer beta version but I am totally confused. :-)
If I am in a
Hello Shawn,
Thursday, January 10, 2008, 2:16:24 PM, you wrote:
Hello,
I am evaluating Message Sniffer beta version but I am totally confused. :-)
snip/
But how do I get the result code for the spam message to output back to the command prompt? If I try to call
Hello Shawn,
Following up a bit...
Most likely you're using a Process object to call the SNFClient.
If I've read the MS docs correctly you will want to get the "exit code" once SNFClient finishes.
http://msdn2.microsoft.com/en-us/library/system.diagnostics.process.exitcode(VS.71).aspx
Pete,
That is exactly what I needed. You rock.
Thanks so much.
Shawn
On Jan 10, 2008 11:56 AM, Pete McNeil [EMAIL PROTECTED] wrote:
Hello Shawn,
Following up a bit...
Most likely you're using a Process object to call the SNFClient.
If I've read the MS docs correctly you will want