WFU

[ 精選文章 ]

自行車 入門 Escape 3 , Snap 21 , Revel

最近周末想運動 , 平日想通勤 , 想買台自行車 , 把自己找的資料跟大家分享 , 如果你是玩家級的 就不用看了 這是給跟我一樣的新新新手 參考的 騎車半年後的補充: 如果你有把握你是真的有時間有興趣會一直騎,建議還是存點錢買好一點的彎把公路車, 或是可以考慮買2手的自...

2015年9月10日 星期四

New system RamDisk optimization, Chrome / Edge Cache


Share my setting with people who have the same idea as i do

1. Create Ram disk with apps (SoftPerfect RamDisk 3.4.8 and  imDisk are recommended
2. Setting TEMP/Cache and Build folder to the ramdisk

change C:\Users%username%\Downloads

mklink 這個指令讓其他磁碟的路徑 (比如 e:\DiskCLink\installer\) 取代 c:\windows\installer
用途為增加 C 槽空間 或是移轉儲存空間到別的空間去

1. Example
robocopy /copyall /move /e c:\windows\installer e:\DiskCLink\installer
mklink /d c:\windows\installer e:\DiskCLink\installer\

I also linked 2 other folders, I think it can reduce the size of driver C
mklink /d c:\users\%username%\Games e:\%Username%\Games
mklink /d c:\users\%username%\Downloads e:\%Username%\Downloads

2.Setting Google Cache 
a. md R:\ChromeCache (R : RAMDISK Driver)
Create the folder 

b. rd /s /q C:\Users\%USERNAME%\AppData\Local\Google\Chrome\User Data\Default\Cache
Must delete the cache folder first , Mklink can not create the LINK when the folder already exists


c. mklink /D "C:\Users\%USERNAME%\AppData\Local\Google\Chrome\User Data\Default\Cache" "R:\ChromeCache"
將Cache目錄映射到R:\ChromeCache

PS. Support UNC, mklink /d c:\webroot \\ShareHost\ShareFolder

Ex for Edge Cache
mklink /d "C:\Users\%USERNAME%\AppData\Local\Microsoft\Edge\User Data\Default\Cache\" "W:\EdgeCache"



3.My Document
https://www.diskpart.com/tw/article/move-documents-folder-to-another-drive-windows-10.html

沒有留言:

張貼留言