Are you using the Professional version or just the Trial one?
The ashCmd Parameters and Switches are:
Example: “C:\Program files” /p /u=virus@asw.cz --soundoff /v=“key kapt”
d:\path
This parameter specifies the drive and directory that should be tested. If the parameter is not given, files in the root directory of the current drive are scanned. It is possible to specify more drives simultaneously.
d:\path\file
When the full pathname of a file is given, ashCmd scans this one file only. The file must exist!
/H or /? (or --help)
Prints brief help and the list of possible switches.
/# (or --remote)
Scans remote disks.
/* (or --local)
Scans local hard disks.
/_> (or --console)
The application will be ready for STDIN/STDOUT. All the output will be redirected to the standard output (STDOUT). It means that the output can be processed in various UNIX-style command-line tools.
/A (or --testall)
Tests all files.
@ (or --task)
Starts an avast! task of given name. All the other parameters are ignored. If the task name contains any spaces, it must be enclosed in quotes.
/C (or --testfull)
Switches scanning of whole files on. By default, only the important parts of the files are tested, which is much faster. When any virus is found, the program switches to scanning the whole files automatically.
/I (or --ignoretype)
Switches searching for all viruses in all files on (i.e. boot viruses will be looked for even in EXE files etc.).
/J (or --paging)
Pages the lines if the program is not in STDOUT mode (i.e. stops after each full page of results).
/M (or --boot)
Tests boot sectors and the operating memory.
/P (or --continue)
This switch specifies that the program will run without any delays after checking the disk system areas and without waiting for user interaction when a virus is found. To check the result of the scan, you can use predefined return codes, or information stored in a report file. To specify an automatic action with the infected files, use /P=[1234], where 1 = delete file, 2 = move to Chest, 3 = repair, 4 = stop.
/R=* [file name] (or --report)
This switch specifies that a text file will be created with the list of viruses found and a summary table (report file). If the file name is not given, ASHCMD.RPT in the current directory is used for output. When the switch /R is followed by the “*” character, all the scanned files will be written to the report file (even the ones where no virus was detected).
/S (or --soundoff)
This switch turns the virus sound alert off. By default, any virus found is announced by a beep.
/U= (or --sendmessage)
If a virus is found, a warning message is sent to the given address.
/V=[first characters of the virus name] (or --viruslist)
The ashCmd program prints its current virus database (i.e. the list of viruses it can find) and terminates.
/T=[JZIMXRSTLCBWOEQHAN] (or --archivetype)
Specifies the type of archives to scan (J:ARJ, Z:ZIP, I:MIME, M:MAPI, X:Exec, R:RAR, S:Streams, T:TGZ, L:LNK, C:CAB, B:BZIP2, W:WinExec, O:ZOO, E:ACE, Q:ARC, H:LHA, A:All, N:none).