Author Topic: ashCmd.exe  (Read 6197 times)

0 Members and 1 Guest are viewing this topic.

Offline erwin

  • Newbie
  • *
  • Posts: 2
  • I'm a llama!
ashCmd.exe
« on: September 09, 2003, 09:57:59 PM »
Hello to all,
very new to avast I tried to use the ashCmd.exe in a bat-file.
The helpfile says: Virus found errolevel = 1, novirus errorlevel = 0

but I always get 9002 as errorlevel or 42003, depends on different /p /s or whatsoever.

My bat file is like this:
First I call ashCmd.exe und second I write everthing in a logfile.

C:\Programme\Alwil Software\Avast4\ashCmd.exe c:\test.com
echo %date% - %time% %~nx1 %meldung% - Fehlercode: %errorlevel% >>c:\logfiles\virScan.log

Thanks for any help
Erwin