I have an error level check that is not working. When I run it from the command line it works. When I run it from Server's Alive it gives a 1.
The check is a batch file that exits with a code. When run from the command line I can echo back the errorlevel and it is correct. Server's alive always returns 1. Following is batch file: @echo off net use k: \\kms\kerio /yes cd k:\store\queue\ FOR /f "TOKENS=*" %%F in ('dir /s /b /a-d k:\store\queue\^|find "" /c /v') DO SET TOTAL=%%F exit %TOTAL% Jason Passow Mississippi Welders Supply http://www.mwsco.com jas...@mwsco.com ph: (507) 494-5178 fax: (507) 454-8104 To unsubscribe send a message with UNSUBSCRIBE in the subject line to salive@woodstone.nu If you use auto-responders (like out-of-the-office messages), make sure that they are not sent to the list nor to individual members. Doing so will cause you to be automatically removed from the list.