VSCode: moving files out of appdata directory

Viewed 14834

I'm on a company laptop and appdata has restricted storage space. An initial google showed there isn't really any settings to move directories. I was thinking of simply copying relevant directories i.e. \AppData\Roaming\Code to somewhere else, then creating a hard symbolic link (junction) with the same name and then point it to the same location

i.e. in command line:

mklink /J C:\Users\me\AppData\Roaming\Code C:\myFolder\Code

I played around with moving the whole appdata folder (right click on roaming/local/locallow then click on properties then location tab then change directory). I managed to only move half the files over. it seemed to work until i restarted and it caused chaos.

I don't want the same thing to happen again with vscode. (that said I haven't tried using a symbolic link for appdata

what is everyone's advice? can i create a symbolic link and have everything work fine? or will i cause more chaos again? if it works for vscode, i'd like to do the same for appdata too

2 Answers
Related