Results 1 to 6 of 6

Thread: Any way to store restuls in a log ?

  1. #1
    Junior Member
    Join Date
    Oct 2009
    Posts
    4

    Default Any way to store restuls in a log ?

    Hi,

    What I want to do is to automate the cleaning, in background (with the switches /taskbarhide /autoupdate /autocheck /autofix /autoimmunize /autoclose, it works perfectly), but then I don't know if spybot deletes something or not, and if yes what files he deletes.

    So I was wondering if there is a way to store the results of the spybot clean in a file ?

    e.g of report file :

    Spybot report
    -------------

    FOUND : <spyware1>
    ACTION : deleted

    FOUND : <spyware2>
    ACTION : deleted

    FOUND : <spyware3>
    ACTION : deleted

    ....
    Thank you for you're answer !

  2. #2
    Junior Member
    Join Date
    Oct 2009
    Posts
    4

    Default

    I think there's unfortunately no way, but I ask it again ?

  3. #3
    Senior Member drragostea's Avatar
    Join Date
    Jan 2008
    Location
    @Home
    Posts
    3,674

    Default

    I am uncertain if Spybot stores logs when the user executes Spybot manually via cmd (like auto this and that).

    You will find Spybot's scan logs in the Application folder. It'll be in text files: Checks.YYMMDD-####.

    Do you know how to access the Application Folder?

  4. #4
    Junior Member
    Join Date
    Oct 2009
    Posts
    4

    Default

    yes yes yes, it's exactly what I was looking for !!

    Thank you very much

    P.S : I know I ask a lot, but is there a way to give a customized name to the file ?
    For example by donig like that in (shell command) :

    Code:
    SpybotSD.exe /taskbarhide /autocheck /autofix /autoimmunize /onlyspyware /autoclose >> customized_name_of_the_log.txt
    If it's not possible, I'll look for another solution for the script I'm writing

  5. #5
    Senior Member drragostea's Avatar
    Join Date
    Jan 2008
    Location
    @Home
    Posts
    3,674

    Default

    I am uncertain if you can customize the logs via your method. Because PepiMK (Patrick Kolla) has not specified that kind of function.

    You can do it and give it a shot and see if it works. If not, then there is no such function. I mean like if your tactic does not work in the command.

    If you should easily distinguish which is which, assuming it's Checks.YYMMDD. Should be easy enough to remember.

  6. #6
    Junior Member
    Join Date
    Oct 2009
    Posts
    4

    Default

    Actually, I tried my method before ask you another one, and it doesn't work.

    BUT i've found a solution for my problem


    For those interested, what I needed in my script was to get the last log file, and copy it on a server. That's why I wanted to give a name that I (and the script) know.

    To by-pass this problem, I've make a little .bat script which selects the most recent txt file, and copies it in c:\temp\test.txt.

    Code:
    for /f "tokens=4* delims= " %%i in ('dir /o:d "C:\Documents and Settings\All Users\Application Data\Spybot - Search & Destroy\Logs\*.txt" ^| findstr /i /c:".txt"') do set VrFchRcnt=%%i %%j 
     echo %VrFchRcnt%
     echo "creation of the txt file" > c:\temp\test.txt
     xcopy "C:\Documents and Settings\All Users\Application Data\Spybot - Search & Destroy\Logs\"%VrFchRcnt% c:\temp\test.txt /Y
    In this way, during my script I can copy this file which will always be the one that I want.


    Thanks for the help

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •