{"_id":"q-en-vscode-6ebdcd901316ad872ba60e73ed01ade96ab92f3fa4abdc60a5ce1425555412f7","text":"In version 0.10.1 it is no longer possible to write to the root of a drive (which worked up to 0.9.1). When trying to save to e.g. , the following error message appears: Tested on Windows 7 Ultimate and Windows 10 Professional, US language, German region settings.\nare you sure you can save there, can you try with nodepad?\nYes, I can write a text file with notepad. And I also tried other drives. What I found out in the meantime is that this happens only when creating a new file. Opening, editing and saving an existing file works correctly.\nso you do Ctrl+N, type something and then try to save it to r: from the windows save dialog?\nExactly. The error message appears trying to use Save, Save As or (when creating multiple files), Save All.\nis R: some drive created with subst or a real physical drive? I assume it is not the root drive where windows is installed?\nR: is a RAM disk - so I suspected this to be the problem at first. That's why I checked on other, \"real\" drives (except the system drive C:), and I can reproduce the behavior.\nWhat I'm not sure about is why VSCode is trying to run at all. When I do this from a command line (), I get an \"Access is denied\" there as well - which doesn't surprise me.\nIt actually tries to create the root path :) If you run VS Code as non-admin, it won't even let you try to save to but if you run VS Code as admin, it will let you try but fails on creating . !\nThanks, will look into it!\nThis looks like a bad regression in (). It relies on the EEXIST error but when reaching the root drive, it ends in EPERM. I think you touched this function last.\nAs of now, 0.10.8-insider build run as an administrator lets you save to D: