Win7 Chrome's cache and user data location modifications

Source: Internet
Author: User

After reviewing multiple sources, I have summarized and collated 2 methods: Use command parameters, create symbolic links using the Mklink command. It is recommended to use the 2nd method directly.

First find the data location and clear the role of the directory:

C:\Users\XXX\AppData\Local\Google\Chrome\UserData User data (this directory contains the cache by default, including various configuration information, as well as bookmarks, extensions, etc.)

C:\Users\XXX\AppData\Local\Google\Chrome\UserData\Default\Cache Cache

programme One:

This is how the command parameters are modified in the shortcut. Right--Properties--shortcuts--Target:

Add--user-data-dir= x:\ folder after Chrome.exe "in the Target (T) column:

"C:\Users\XXX\AppData\Local\Google\Chrome\Application\chrome.exe"--user-data-dir= "X:\ folder" (Note: English state punctuation, note \chrome.exe "with spaces)

"Note" When the shortcut is created, it can only be activated from the shortcut, for external calls to take effect, as well as the following modifications:

Win+r--regedit, open the registry. Find chromehtml, FTP, HTTP, Https,shell\open\command right-click on the right-hand side of the [HKEY_CLASSES_ROOT], respectively C:\Users\XXX\AppData\Local\ Google\chrome\application\chrome.exe " -- The value of"%1\ ".

Add--user-data-dir= "X:\ folder" after--"%1\" in front of Chrome.exe "(note space)

[Hkey_classes_root\chromehtml\shell\open\command]
Modified "C:\Users\XXX\AppData\Local\Google\Chrome\Application\chrome.exe"--user-data-dir= "X:\ folder"--"%1\"

[Hkey_classes_root\ftp\shell\open\command]
Modified "C:\Users\XXX\AppData\Local\Google\Chrome\Application\chrome.exe"--user-data-dir= "X:\ folder"--"%1\"

[Hkey_classes_root\http\shell\open\command]

Modified "C:\Users\XXX\AppData\Local\Google\Chrome\Application\chrome.exe"--user-data-dir= "X:\ folder"--"%1\"

[Hkey_classes_root\https\shell\open\command]
Modified "C:\Users\XXX\AppData\Local\Google\Chrome\Application\chrome.exe"--user-data-dir= "X:\ folder"--"%1\"

Here are some of the common startup parameters:

--user-data-dir=userdatadir Customizing User Data Directory

--start-maximized start-up is maximized

--no-sandbox Canceling sandbox mode

--single-process Single-Process operation

--process-per-tab each label using a separate process

--process-per-site Each site uses a separate process

--in-process-plugins plugin does not enable separate processes

--disable-popup-blocking disable pop-up blocking

--disable-javascript disabling JavaScript

--disable-java disabling Java

--disable-plugins Disabling plugins

--disable-images Disabling images

=======================================================================================

Scenario Two:

using the Mklink command is a real way to change the path. First find the cache file directory of your Chrome browser. If your Win7 is installed on the C drive, your username is XXX, then "C:\Users\XXX\AppData\Local\Google\Chrome\UserData\Default\Cache" Is your chrome's cache file path. Here's how to modify the Chrome default cache directory under Win7:

1. Delete your Chrome's default cache folder, the "cache" folder in the C:\Users\XXX\AppData\Local\Google\Chrome\UserData\Default directory.

2. Create a new Chrome cache folder, and the directory name is arbitrary. If the "D: \chrome\cache" Directory is created under the D-Disk.

3. Confirm that you are currently logged in as an administrator, click the Start menu-All Programs-attachments-command prompt, select the "Run as Administrator" command from the pop-up menu

mklink/d "C:\Users\XXX\AppData\Local\Google\Chrome\User data\default\cache" "D:\Chrome\Cache"

Copyright NOTICE: This article for Bo Master original article, without Bo Master permission not reproduced.

Win7 Chrome's cache and user data location modifications

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.