Yes,
/* scans all the local disks, but the rest is somehow strange.
First, the arguments are case-sensitive (i.e. it should be
/p,
/r), second (at least I think so) there should be an
= between the switch and the value (i.e. it should be
/p=2).
Third, the redirection to null doesn't seem to be OK (at least for me, a file called "null" is created where the output is stored). Fourth, I am not sure why the std in/out redirection should be there at all - so I'd rather suggest something like
"D:\Program Files\Alwil Software\Avast4\ashCmd.exe" /* /p=2 /r="D:\report.rpt"Regarding the errors:
C000013A means that Ctrl+C was pressed
a41b means "operation was stopped"
- i.e. is seems that the scan was interrupted by the user
57 means "invalid parameter", which is slightly strange (but it may mean various things).
