Re: Querying Folder Size with WMI.....and FireFox's Cache?!

Tech-Archive recommends: Speed Up your PC by fixing your registry



> Hi - I need to write a VBScript to query the size of the Firefox cache
> etc - any tips?

The APPDATA environment variable points to the Application Data folder for
the current user, you could expand that with
WScript.Shell.ExpandEnvironmentStrings to find the folder
%APPDATA%\Mozilla\Firefox. I don't think the user can change this location
so it should be valid for all setups. In that folder there's a PROFILE.INI
that has a Path= statement you can use to complete the path to the cache
folder. Once you have that, you can use FileSystemObject.GetFolder to get
the folder and use its Size property which is the total bytes in the cache,
or look at individual files.

The max size of the cache is in the PREFS.JS file:

user_pref("browser.cache.disk.capacity", 25000);

If you don't have a line like that in the file, it appears to default to
50000 KB.


.



Relevant Pages

  • Re: Synchronize of profile and user share folder
    ... With method two, when the cache is clear and offline will not be available, ... share folder do not sync when you logon and log off the computer. ... Open windows explorer, click Tool menu, select Synchronize. ... The Offline Files cache on the local computer will be re-initialized. ...
    (microsoft.public.windows.server.sbs)
  • Re: caching problem
    ... > popping up from the cache. ... > 2) delete TIFs folder, history folder and cookies folder from the local ... > service and DHCP client service disabled to avoid system slow downs. ... > have been experimenting with the DNS client service and DHCP client ...
    (microsoft.public.windows.inetexplorer.ie6.browser)
  • Re: caching problem
    ... The IE cache is ... Another program interfering with IE. Try disabling third party programs ... >>> 2) delete TIFs folder, history folder and cookies folder from the local ... >>> service and DHCP client service disabled to avoid system slow downs. ...
    (microsoft.public.windows.inetexplorer.ie6.browser)
  • Re: OT: Tribute to terminated Verizon newsgroups
    ... I don't save cookies so why should I cache anything? ... hidden file used by Microsoft Windows operating system that stores a ... If you are viewing a Windows explorer window in "Thumbnail" view it tries ... private document folder has folders for recipes, food pix, user manuals, ...
    (rec.food.cooking)
  • Re: Importing into Entourage 2008
    ... and there always is - the Office X Identities folder ... contains a Newsgroup Cache file and a folder labeled Main Identity. ... Database, Database Cache, Mailing ...
    (microsoft.public.mac.office.entourage)