Here is a VBScript to automatically clear the cache in Google Chrome. This script has been tested with Google Chrome (Beta) Official Build 1798, under Windows XP and Windows Vista systems.
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.
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