Quickly Clear the Google Chrome Cache Using Script

Here is a VBScript to automatically clear the cache in Google Chrome. This script has been tested with Google Chrome Final version 1.0.154.36, under Windows XP and Windows Vista systems.

This article and the Script were last updated on Dec 12, 2008.

Download delchromecache.zip and save to Desktop. Unzip the compressed file and extract delchromecache.vbs to a folder (e.g. D:\Scripts). Double-click delchromecache.vbs to clear the cache in Google Chrome. If Google Chrome browser window is open, the script fails to clear the cache and displays a message box.

Note that this script does not clear stored passwords and Cookies by default. Also, it does not clear the Bookmarks.

Customizations

1. To run the script in silent mode (no message windows), open delchromecache.vbs using Notepad and change the code in line #9 from:

intShowMessageBox = 1

to

intShowMessageBox = 0

2. To clear stored passwords and Cookies, change the code in line #8 to:

intClearPasswords = 1

More Information

Google Chrome cache (for the default profile) is stored in the following folder:

(Windows XP)

%USERPROFILE%\Local Settings\Application Data\Google\Chrome\User Data\Default

(Windows Vista)

%LOCALAPPDATA%\Google\Chrome\User Data\Default

Related Posts


Email SubscriptionPrefer an E-mail subscription?

Enter your email address:

Delivered by FeedBurner

Leave a Reply