Bash variables with spaces
问题 I'm facing the next problem in MinGW shell under windows. I have in my /etc/profile the next expression: export GIT_SSH="/c/Program Files/TortoiseGit/bin/TortoisePlink.exe" This doesn't work when I use git fetch on the local repository. But if I do it like (old dos way) this it works: export GIT_SSH="/c/Progra~1/TortoiseGit/bin/TortoisePlink.exe" My question is: How can I make it work using spaces in the variable? For testing purpose you can simulate something like this (any example is good):