PDA

View Full Version : Make a batch file to scan


Gaston
June 20th, 2008, 10:43 AM
Hi,I'm a Newbie
My os is Windows xp sp3.i have Eset Smart Security v.3.0.657.0....It is possible to run a smart scan on a batch file to scan only drive c:\which is my os drive.....if yes,please write me the command lines i should use....Thanks

Kosak
June 20th, 2008, 01:28 PM
Hi!

When you choose Computer scan => Custom scan, you can set up targets and all preferences of scan.

Gaston
June 20th, 2008, 02:30 PM
yes i know, at night when the computer is on sleep the sheduled scan from the program doesn't work, you have to run your scan on a batch file.In my first post i ask if somebody can write me down some command lines for a smart scan and only for the c: drive.

Marcos
June 20th, 2008, 02:38 PM
You can schedule a scan task in Scheduler. Just switch to Advanced mode and you'll fin it in the Tools section of the main menu.

Gaston
June 20th, 2008, 02:53 PM
I know that, what i try to says is at night i put my computer on sleep the shedule task from the program does not open the scanner unless the computer is fully awake for the sheduler can work ,that why i ask for somebody to write me down some command line scanning parameters http://training.eset.com/kb/index.php?option=com_kb&Itemid=29&page=articles&articleid=565 for a batch file for doing a smart scan on my c:drive.

GAN
June 20th, 2008, 07:25 PM
Here is some examples of batchfiles....

For nod32:
@echo off
"C:\Program Files\ESET\ESET NOD32 Antivirus\ecls.exe" C:\ /base-dir="C:\Program Files\ESET\ESET NOD32 Antivirus" /aind /files /no-boots /arch /mail /sfx /rtp /adware /unsafe /unwanted /pattern /heur /adv-heur /action=clean /quarantine /no-log-all
pause
exit


For ESS
@echo off
"C:\Program Files\ESET\ESET Smart Security\ecls.exe" C:\ /base-dir="C:\Program Files\ESET\ESET Smart Security" /aind /files /no-boots /arch /mail /sfx /rtp /adware /unsafe /unwanted /pattern /heur /adv-heur /action=clean /quarantine /no-log-all
pause
exit


What parameters to use you have to find out what you prefer. You can read more about the parameters using ESS help and search for "Command line". If using Windows Vista and you see the message "WARNING! The scanner was run in the account of a limited user!" you have to run the batchfile as an administrator which can be done using command line or rightclick "Run as administrator".