bengreen.eu Circle Device

 

Quick Reference

msys2 home to Windows home

msys2 home to Windows Home

Assuming your username is User and your Windows home directory is C:\Users\User then go to C:\msys64 (or C:\msys32) in Windows Command Prompt:

C:\msys64\home>ren User oldUser
C:\msys64\home>mklink /J User C:\Users\User
C:\msys64\home>move oldUser\*.* User
C:\msys64\home\oldUser\.bashrc
...
C:\msys64\home\oldUser\.profile
.    6 dir(s) moved.
C:\msys64\home>move oldUser\.ssh User
.    1 dir(s) moved.

Then start the msys2 shell and you should be in your Windows home directory.

Quick Links: Techie Stuff | General | Personal | Quick Reference