文章标签 ‘缓存’
2013一月28

Chrome浏览器:更改临时文件夹位置缓存路径

每次重装Chrome之后总要找一圈如何设置临时文件夹路径,很麻烦,干脆记录在这里省的麻烦。

用 RAMDisk 把内存划出2G做B盘,设置缓存文件夹路径即:

--disk-cache-dir="B:\CHTemp"

运行 regedit 找到 HKEY_CLASSES_ROOT 下 HKEY_CLASSES_ROOT\ChromeHTML\shell\open\command

修改: "C:\Program Files (x86)\Google\Chrome\Application\chrome.exe" -- "%1"
修改为: "C:\Program Files (x86)\Google\Chrome\Application\chrome.exe" --disk-cache-dir="B:\CHTemp" -- "%1"

 

而后在 HKEY_CLASSES_ROOT 分别找到 ftp、http、https 三项,即:

HKEY_CLASSES_ROOT\ftp\shell\open\command

HKEY_CLASSES_ROOT\http\shell\open\command

HKEY_CLASSES_ROOT\https\shell\open\command

也加上

--disk-cache-dir="B:\CHTemp"

,这样系统重启之后设置就生效了。