Change Chrome default temporary folder location

FROM Nomad_CF

 

Using the fallowing is a horrible idea, if you only want to relocate your chrome temp files
[BAD]
   --user-data-dir="Z:\chromeTemp"
[/BAD]
Using the above will make you a NEW full chrome profile with a new temp dir under "Z:\chromeTemp". In stead use
[/GOOD]
   --disk-cache-dir="Z:\ChromeTemp"
[/GOOD]
This will make chrome use the "Z:\ChromeTemp" ONLY for it's temp files and your profile can still live and be "safe" in it's normal location.

Adding the above to all your shortcuts is only the 1st step. The 2nd step is to search your registry for the fallowing (data only)
[FIND]
    chrome.exe" -- "%1"
[/FIND]
and replace all instances of it with
[REPLACE]
    chrome.exe" --disk-cache-dir="Z:\chromeTemp" -- "%1"
[/REPLACE]
This will make sure that if chrome is invoked via a FTP/HTTP/HTTPS url link AND chrome is your default browser for that. It will be started with the option disk-cache-dir" in-place.

你可能感兴趣的:(chrome)