I use git bash under windowsXP system.I try to enter my USB Disk by entering "cd G:" in git bash,but it apears that "sh.exe : cd : g:: No such file or directory".
I can open my USB Disk under my system.
What's wrong with it ?How can i solve the problem?
Here are the likely reasons: The drive isn't seated properly in the port. The drive isn't on (this is rare, but some some models of USB drives have a physical power switch). The USB port on computer is bad.
Gina, the real answer is in your comment above. You have to close down not just any Git bash window, but ALL git bash windows and then re-open one of them. At that point, cd /f
will work. By the way, cd F:
also works, as the bash terminal converts that to /f. I just confirmed this on Windows 7 64-bit.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With