MkLink Example: Move Opera Cache Folder to Another Drive

preview_player
Показать описание
1. Go to the C:\Users\%Username%\AppData\Local\Opera Software\Opera Stable FOLDER, and delete or rename the cache folder, and the media cache folders. If those folders exist, you will get an error that states. "Cannot create a file when that file already exists" Having a folder that exists will not enable you to link it.

2. Create a folder where you want your cache files to go. For this example, I put E:\Cache\Opera, but for you it can be something different.
Format:

mklink /d "source directory" "target directory"

Code Used in example:

mklink /d "C:\Users\H\AppData\Local\Opera Software\Opera Stable\Cache" "E:\Cache\Opera"
(I used this to move my Opera Cache directory to my target directory of E:\Cache\Opera folder)

mklink /d "C:\Users\H\AppData\Local\Opera Software\Opera Stable\Media Cache" "E:\Cache\Operamedia"
(I used this link to move the Opera Media cache folder to E:\Cache\Operamedia folder)

This should work for Mozilla Firefox, and Chrome as well.

♦ Move Temp Folder in Windows
Рекомендации по теме
Комментарии
Автор

Thanks for this can i ask if how can i make a batchfile that can can create a mklink of a source without a drive letter or complete location?
Ex. Mklink /d “c:\users\desktop\test folder” “test folder”
The purpose is so i can move the batchfile to anywhere i want but still works the mklink

vanheartnet
Автор

Thanks a lot.
But if i update opera then still work ?

stathamm
Автор

Thanks a lot! it worked for me! Does this work for Chrome too?

MohondhaY