Author Topic: Problem using ashcmd to run task  (Read 2269 times)

0 Members and 1 Guest are viewing this topic.

ChrisB

  • Guest
Problem using ashcmd to run task
« on: September 04, 2006, 10:01:13 PM »
I am running Avast 4.7 Pro, recently installed, under XP SP2. I am trying to use ashcmd to run an Avast task I have created; the task runs fine from the Avast interface, but not from ashcmd.

The task is called Mercury; it scans a folder called ...mercury\mail and subfolders. If I run it from the Avast Enhanced Interface, it scans 1248 files in 11 folders. If I run it from the command line it scans 1 file.

My command line is

>ashcmd @Mercury

Can anyone tell me what I'm doing wrong?

Thanks,  Chris

Offline igor

  • Avast team
  • Serious Graphoman
  • *
  • Posts: 11851
    • AVAST Software
Re: Problem using ashcmd to run task
« Reply #1 on: September 04, 2006, 10:07:48 PM »
Please use
ashCmd /@=Mercury

ChrisB

  • Guest
Re: Problem using ashcmd to run task
« Reply #2 on: September 04, 2006, 10:36:48 PM »
Thanks, Igor. That works.  :)
I'm glad I asked, I would not have guessed. 
I was going from the Help text, which states:

The command line of ashCmd looks like this:
ashCmd @<task name> | <area name> [<parameter>]
If you want to start an avast! task, put its name after the "@" character.


Should I report this as a bug, or will the appropriate people spot it here?

Thanks, Chris






Offline igor

  • Avast team
  • Serious Graphoman
  • *
  • Posts: 11851
    • AVAST Software
Re: Problem using ashcmd to run task
« Reply #3 on: September 05, 2006, 04:45:11 PM »
Well, I'd rather call it a mismatch between the documentation and reality ;)
I'll see if the help files can be updated somehow.