C:\Users\AppData [Local & Roaming] Directories - Change?

Windows specific questions, problems.
Post Reply
THE BIG ONE

C:\Users\AppData [Local & Roaming] Directories - Change?

Post by THE BIG ONE »

So, I recently switched from uTorrent to qBittorrent on my Windows platforms. I have used qbittorrent on my Linux boxes, and like the clean interface. Now, uTorrent bothers me with changing installation directories upon updating and moving it to my SSD in the users directory, so I'm done with uTorrent.

qBittorrent stores files in C:\Users\Appdata\Local and C:\Users\Appdata\Roaming, my question(s) are:
1) Can this path be changed and referenced somewhere so that I can move these files to the actual drive qBittorent is stored on?
2) If #1 is possible, will future updates break #1s pointer locations

Now, It might seem trivial, but I dislike most things that default to either Program Files or User directories.  Thanks for the input.
loki

Re: C:\Users\AppData [Local & Roaming] Directories - Change?

Post by loki »

I think what you're looking for is a symbolic link.
ironcross

Re: C:\Users\AppData [Local & Roaming] Directories - Change?

Post by ironcross »

@THE BIG ONE, i'm not sure if that will help you, but portable version maybe? It should keep all qBittorrent files, folders and settings in one directory.
http://portableapps.com/apps/internet/q ... t_portable
loki

Re: C:\Users\AppData [Local & Roaming] Directories - Change?

Post by loki »

(note that we, here, don't support your use of portable apps version of software)
briantist

Re: C:\Users\AppData [Local & Roaming] Directories - Change?

Post by briantist »

loki's suggestion of a symbolic link should work. On Windows a junction might work better. To create them, use mklink from the command prompt (make sure you're elevated). First, stop qBt, then move the directories that you want on the SSD wherever you want them, so let's say on the SSD (drive S:) you have the path S:\AppData\Roaming\ and you move your qBittorrent directory (so its path is now S:\AppData\Roaming\qBittorrent ). Then do the same with the local version (to, for example, S:\AppData\Local\qBittorrent). To use a directory symlink:

Code: Select all

mklink /D "%APPDATA%\qBittorrent" "S:\AppData\Roaming\qBittorrent"
mklink /D "%LOCALAPPDATA%\qBittorrent" "S:\AppData\Local\qBittorrent"
If the symlinks don't work for some reason, use a junction instead:

Code: Select all

mklink /J "%APPDATA%\qBittorrent" "S:\AppData\Roaming\qBittorrent"
mklink /J "%LOCALAPPDATA%\qBittorrent" "S:\AppData\Local\qBittorrent"
Note in both cases, the link (the first directory in the command) should NOT exist already.
Post Reply