Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Git-bash: cannot cd to My Documents

I'm using git-bash on Windows 7 and it seems to work fine except that I cannot go to "My Documents". I found a slightly related question here, but it is in fact not my problem.

I tried to describe my problem in the screenshot below: cannot cd to My Documents

Any help would be nice.

like image 619
lokxs Avatar asked Oct 18 '25 15:10

lokxs


1 Answers

Pulling @eryksun's comment into a community wiki answer

There is no "Documents" folder in your profile directory. I don't think Explorer updates the "My Documents" compatibility junction when the target is relocated. Right-click the Documents folder in Explorer, open the properties dialog, and click on the Location tab to see its real location on disk. You can create a new junction using mklink /j junction target.

like image 70
dimo414 Avatar answered Oct 21 '25 06:10

dimo414



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!