Press Win + X → "Terminal (Admin)" or search "cmd" → Run as administrator.
You want your GitHub repositories to physically live on a secondary drive, but your terminal always opens in your User profile. create symbolic link windows 11
In Windows 11, your data does not have to be where the OS thinks it is. It can be anywhere. You just need to build the bridge. Press Win + X → "Terminal (Admin)" or
Now, when you navigate to C:\Users\YourName\Code , you are actually writing to the D: drive. The applications don't know the difference. when you navigate to C:\Users\YourName\Code
mklink /H "C:\link.txt" "D:\real.txt"
Why bother learning this in an era of cheap cloud storage?