BatchFile/CmdScript to run Ad-aware, Spybot, AV s/w

From: Ummagumma (anonymous_at_discussions.microsoft.com)
Date: 07/19/04


Date: Sun, 18 Jul 2004 19:45:30 -0700

OS: XP Home Edition

I would like a batch file or command script that would
accomplish the following on demand:

1) Execute Ad-aware (do in depth scan), when scan has
completed, Ad-aware should not automatically fix
problems, but rather it should pause at the stage where
the user decides what to do, e.g., quarantine, ignore...
Then:
2) Execute Spybot - Search & Destroy, when scan has
completed, SpybotSD should not automatically fix
problems, but rather it should pause at the stage where
the user decides what to do, e.g., fix selected problems,
ignore... Then:
3) Execute Trend Micro PC-cillin Internet Security 2004
(TMPCcIS).

Ideally, the batch file or command script would also
automatically check for, download and install any
existing updates prior to executing the three programs.

The idea being that in one fell swoop, I'd like to tell
my computer to execute all three programs, walk away from
it, and return some time later to take care of any
problems.

I tried the following DOS batch (.bat) file, but it
didn't work:

ScanFiles.bat
Start /wait /b d:\Progra~1\Ad-awa~1\Ad-aware.exe +a +1
start /wait /b d:\Progra~1\Spybot~1
\SpybotSD.exe /autocheck
 
Here's one link to Ad-aware command line parameters:
http://www.lavasoftsupport.com/index.php?showtopic=4041
Here's one link to SpybotSD command line parameters:
http://www.appdeploy.com/packages/detail.asp?id=247
I'm waiting for a reply from Trend Micro regarding
command line parameters.



Relevant Pages

  • Re: xp_cmdshell default path (system32) problem
    ... building a batch file in code and then ... it will NOT actually execute the delete if the patch I supply is not valid. ... I'm use xp_cmdShell to execute "erase" command like ...
    (microsoft.public.sqlserver.programming)
  • Re: Perfmon and batch file
    ... > event viewer and run command file. ... > but no execute the cmd file or execute it but not execute the ... You are probably making some assumptions in your batch file ... @echo off ...
    (microsoft.public.windows.server.general)
  • Re: SEPKILL /im SMC.EXE /f
    ... Subject: SEPKILL /im SMC.EXE /f ... Save the following as a batch file and execute it ... If done from a batch file the command is completed only when the process is stopped. ...
    (Bugtraq)
  • Re: import .cab Analysis Services DB on website
    ... which user account is used to execute the batch file? ... I tried to run the msmdarch tool within an batch file from an execution ... it comes to the msmdarch command. ...
    (microsoft.public.sqlserver.olap)
  • Re: SEPKILL /im SMC.EXE /f
    ... Probably this bug exists on majorly all the software's but security software's like antivirus and firewall have to bucket it which is not what its for SEP. ... Save the following as a batch file and execute it ... If done from a batch file the command is completed only when the process is stopped. ...
    (Bugtraq)