is it possible to specify multiple scan areas when using the cl scanner?
what is the syntax… area, area etc?? or do you have to do one at a time??
many thanks ![]()
is it possible to specify multiple scan areas when using the cl scanner?
what is the syntax… area, area etc?? or do you have to do one at a time??
many thanks ![]()
Hi emilemma,
From looking in the help files, there is this feature in the paid versions of avast!
The easiest way to see how you can use it, open avast! → help center (near the top right) and search for command. There are a couple of pages, which show how to use it and the parameters you can use.
Scott
yes, i looked there to setup the scan… but it doesn’t really tell you if multiple areas can be scanned in one run… and i am familiar with setting up custom scans… what i want to do is scan boot areas & memory(/M) & also scan for rootkits at the same time through custom scan…
![]()
Ahh, I see…well that is beyond my knowledge, I use only the free version ![]()
Just a thought, reading through, you could set up a custom scan to scan what you want and then use:
ashCmd.exe /@=“scan name”
Although that would be more appropriate if the scan doesn’t really change…
Scott
I’d say the easiest thing would be to simply try - and you’d have the answer immediately ![]()
Yes, you can specify multiple scan areas on the command line.
yes, i did try it by specifying /M for the boot sectors & then also specified --task=xxxx, but it did not work… only executed the specified task, not the boot scan… ![]()
Well, both the help shown by /? switch and the help file clearly says that when the --task switch is used, all other parameters are ignored. So yes, if you use --task, you cannot use multiple areas (or rather, you can, but you have to put them into the definition of the task itself).
But you can use
ashCmd.exe C:\dir1 C:\dir2 D:\dir3 …
to the best of my knowledge, there is no way to specify "boot sectors’ other than the /M option so they cannot be included when setting up a custom scan, which is why i tried to include them on the cmd line along with the other scan in --task=xxx… when specifying “C:” drive in a scan do the boot sectors get scanned??.. also aware that two separate scans can be setup, but was trying to do it all in one scan… i have multiple drives & even if specifying C, X, Y, & Z to scan the boot sectors, i would not want to scan all the entire contents of each drive just to ckeck boot sectors… the drives are all 1TB or more…
thanks ![]()
I’m not completely sure I understand (what exactly is that additional task you are trying to run).
If you use ashCmd.exe C:, then the boot record of the C: drive will not be scanned, as it seems.
What I was trying to say is that if you want to scan the boot records and drive C: at that, for example, you can use ashCmd.exe C: /m and you’re done. Or, ashCmd.exe C:\Windows D:\SomethingElse /m - as another example.
(On a side note, I believe scanning of boot records for malware is pretty much useless these days; sure, there might be MBR rootkits, but those are the task for the antirootkit scan, which is not connected to the /m switch). But, the /m switch also scans modules loaded in memory, which may be useful.)