1

My home directory in CMD/Git Bash is a network drive H:\. I want my directory to be the same as my user profile C:\Users\Phil. I don't want to have a network drive be my home directory because it's much slower. How can I change this?

When I enter cd ~ I want it to go to C:\Users\Phil instead of the network drive.

1 Answers1

1

Edit: This removed my H: drive but I'm still able to access the drive with the network path. Make sure you record the network path of the drive before using this command.

In command prompt enter net use h: /delete replace h: with the current home directory you wish to change. This will remove your network drive. Now when I type cd it goes to C:\Users\Phil

Credit to S. Brottes for finding this answer.