Knowledgebase
avast! supported types of scans from the command line
Posted by Samuel Turi on 14 February 2012 11:29 AM

avast! supported types of scans from the command line


I would like to know if avast! has some possibilities and support for running different types of scans from the command line ?
Solution:
All avast! editions, excluding avast! Home Edition, have the unique utility “aswcmd.exe” which you can use under command line with these parameters:
 /# --remote Remote disks.
 /* --local Local hard drives.
 /? --help Help. Short description of all parameters.
 /@ --task = expect string Parameter contains name of task which will be started. Other parameters are ignored.
 /_ --console Application will be ready for STDIN/STDOUT.
 /a --testall Test of all files.
 /c --testfull Scan entire files.
 /d --dontpanic Don't switch to "panic mode" when a virus is found.
 /f --fileactions = expect string =[BPSW] Additional configuration for actions on infected files B ... allow delayed actions (after reboot) for locked files. P ... if a file can't be removed from an archive, try to remove its parent(s) instead. S ... don't remove associated auto-start references when removing a file. W ... when an infected file is found in an archive, perform the action with the whole archive - not just the file inside.
 /h --help Help. Short description of all parameters.
 /i --ignoretype Ignore virus sets.
 /j --paging Paging the lines if program is not in STDOUT mode ( parameter /_ ).
 /m --boot Test boot sectors and whole operating memory.
 /p --continue = expect byte Program doesn't wait for user input (/p). Automatic action with infected file: /p=[1234] 1:delete file, 2:move to chest, 3:repair, 4:stop when virus is detected.
 /q --stopclean Stop on clean files and wait for user input.
 /r --report = expect string =[*~][file] Create report file. * means OK results are included. ~ means SKIPPED files are included.
 /s --soundoff No sounds.
 /t --archivetype = expect string =[JZIMXRSTGCBWOEQHFVKPY7D6UAN1] J:ARJ, Z:ZIP, I:MIME, M:MAPI, X:Exec, R:RAR, S:Streams, T:TAR, G:GZ, C:CAB, B:BZIP2, W:WinExec, O:ZOO, E:ACE, Q:ARC, H:LHA, F:TNEF, V:CPIO, K:CHM, P:RPM, Y:ISO, 7:7ZIP, D:DBX, 6:SIS, U:OLE, 1:Installer, A:All, N:none --- Default option is: /t=XSW /u --sendmessage = expect string =
Send message about found virus to selected address.
 /v --viruslist = expect string =[first characters of virus name] Show list of all viruses.
(1 vote(s))
Helpful
Not helpful

Comments (0)
Post a new comment
 
 
Full Name:
Email:
Comments:
CAPTCHA Verification 
 
Please enter the text you see in the image into the textbox below (we use this to prevent automated submissions).