1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

How to remove Flash files from temporary internet files with batch / some program

Discussion in 'General Programming Chat' started by antsaoo, Jan 22, 2011.

  1. antsaoo

    antsaoo Supreme Member

    Joined:
    Oct 1, 2008
    Messages:
    1,291
    Likes Received:
    637
    Good day. at first this might sound bit stupid but read on.

    Im making bot and there is 1 flash(swf) being downloaded into IE temp files which fucks up th process. I have googled loads of options but for some reason it seems that you can't delete it with cmd. Manual deletion trough explorer works though. CCleaner works though but i would need it to clear cookies when changing Accounts and can't change the settings in between.

    The error with cmd trying to delete is "file not found" also tried winautomation to see if i could make .exe to delete it but can't even select the file.

    If you have any kind of idea or suggestion for CCleaner like soft please post :)
     
  2. Cloaks

    Cloaks Regular Member

    Joined:
    Mar 20, 2010
    Messages:
    298
    Likes Received:
    90
    On Vista/Windows 7 flash cookies are stored in the following directory:
    C:\Users\[username]\AppData\Roaming\Macromedia\Flash Player\#SharedObjects
    On Windows XP flash cookies are stored in:
    C:\Documents and Settings\[username]\Application Data\Macromedia\Flash Player\#SharedObjects

    Make a .bat file or whatever that deletes all files in those directories. Problem solved. Hope that helps :)
     
    • Thanks Thanks x 1
  3. antsaoo

    antsaoo Supreme Member

    Joined:
    Oct 1, 2008
    Messages:
    1,291
    Likes Received:
    637
    Otherwise good but i stated that the file is in Temporary internet files :)
    Its not flash cookie
     
  4. Cloaks

    Cloaks Regular Member

    Joined:
    Mar 20, 2010
    Messages:
    298
    Likes Received:
    90
    Try adding the exact URL it's placed at into your hosts file, that'll prevent it from ever getting downloaded again. To find the exact URL, use a program like HttpFox for FireFox.
     
  5. madarwalo

    madarwalo BANNED BANNED

    Joined:
    Mar 6, 2010
    Messages:
    232
    Likes Received:
    57
    I use "better privacy" addon for firefox,it clear flash coockies automatically when you close the page.
     
  6. blakamia

    blakamia Junior Member

    Joined:
    Jan 25, 2010
    Messages:
    162
    Likes Received:
    343
    CCleaner(google it) can also be run from commandline and cleans everything in one run.