Title: How to Change the user settings file loc to other disk
Tags: visual-studio-code;settings;diskspace;file-location
Question: I want to change this folder's location
enter image description here
&amp; I have tried to use the command line ```code --user-data-dir d:/IDE/VSC_Denpendency/User_data```
,after the command, it does create the same files in the target folder. However, I still can't delete the ```%APPDATA%/Code```, besides, every time I start the vscode, it will appears again and can not be delete.
Disk C has no more space so I want to change it, Using the spacesniffer tool, I find it that the ```%APPDATA%/Code/User/workspacestorage``` has cost me about 2GB of space.
Help me please!!

Comment: Please provide enough code so others can better understand or reproduce the problem.



{'source': 'StackExchangeDataset', 'subset': 'stackoverflow.com', 'metadata': {'AnswerCount': 0, 'CommentCount': 1, 'ContentLicense': 'CC BY-SA 4.0', 'CreationDate': '2021:00:11/04/21', 'FavoriteCount': None, 'PostTypeId': 1, 'Tags': '<visual-studio-code><settings><diskspace><file-location>', 'Title': 'How to Change the user settings file loc to other disk', 'ViewCount': 21, 'id': 69836790, 'user_AboutMe': '', 'user_AccountId': 23236328.0, 'user_DisplayName': 'ZoroGH', 'user_Reputation': 1.0, 'user_Views': 1.0, 'user_id': 17326297.0}}