Bdlite Command Line Parameters?

I want to use bdlite to do a manual scan. I have found some parms like:


/warn


/log


/all


/mail


and I have reviewed:


http://kb.bitdefender.com/KB151-en--How-to...and-Prompt.html


but I am looking for a complete list of parameters and their meaning.


For example, when I do /LOG, I get a log file but if I scan a disk of 10,000


files - I get a 10,000 line file which states OK next to each file. I want only the


infected files listed.


Any help?

Comments

  • Hello hankn,


    bdlite is a module that existed in BD versions pre-v10 (v10 included), and was the GUI Manual Scanner. The command prompt scanner, to which that article is referring, is bdc.exe (BitDefender Console), which exists in older versions, as well as in the current 2008 series.


    To find out the parameters of bdc, just open Command Prompt (cmd), navigate to where bdc is located, and run it without any parameters. It will display a list of parameters, along with their description.


    I don't know how you can find out the parameters for bdlite.exe, because this is a very old version, and I don't have it anymore on my computer. Maybe someone else can help you with them.


    Cris.

  • but I am looking for a complete list of parameters and their meaning.


    For example, when I do /LOG, I get a log file but if I scan a disk of 10,000


    files - I get a 10,000 line file which states OK next to each file. I want only the


    infected files listed.


    Any help?


    Thanks Cris! Do you know (or anyone else reading) offhand whether a manual


    scan with bdc.exe would have some ability to log to a file just infected files and not


    every file with the word OK?

  • AndreiASM
    edited May 2008

    Hi there!


    The parameter you`re looking for should be /noclean.


    Best regards.

  • hankn
    edited May 2008
    Hi there!


    The parameter you`re looking for should be /noclean.


    Best regards.


    I found bdc.exe in the Common Files directory and see /noclean option. Thanks!


    Different question now - if a virus is found will bdc.exe return an error code or is there some


    toggle I can use to force bdc to return an error code if a virus is found?


    TIA.

  • BDC will just prompt you for an action if you used the /p or /prompt paramter. Else, it will take an appropriate action according to the infected object.

  • Parameters:


    /f, /files scan files *


    /b, /boot scan boot sector and mbr


    /r, /arc scan archives


    /i, /mail scan mail databases


    /k, /nopack don't scan packed programs


    /h, /nohed no heuristics


    /X, /xcl=ext1;ext2; exclude from scan this extensions


    /G, /log[=file] create log file


    /S, /cd scan cd-rom


    /N, /fixed scan all fixed drives


    /M, /floppy scan floppy


    /I, /list display all files


    /g, /prog scan only program files


    /e, /app append to log file


    /F, /infp=path set infected quarantine folder


    /U, /susp=path set suspected quarantine folder


    /R, /nor do not recurse into folders


    /p, /prompt prompt for action


    /O, /info information


    /W, /nowarn no warnings


    /V, /vlist display virus list


    /d, /dis disinfect files


    /o, /copy copy infected files in quarantine folder


    /y, /copys copy suspect files in quarantine folder


    /l, /del delete infected files


    /noclean don't display clean files


    /move move infected files in quarantine folder


    /moves move suspect files in quarantine folder


    /ren rename infected files


    /infext=ext set rename extension


    /alev[=n] set maximum archive depth level


    /flev[=n] set maximum folder depth level


    /update update


    /?, /help this help


    * = default option