How can I execute commands in git-bash in Windows which are located in a folder with spaces ie “Program Files”?

后端 未结 4 1081
灰色年华
灰色年华 2021-01-12 05:43

When I use git bash, from time to time I want to invoke a command which is on my $PATH ( well actually on my %PATH% ) but if the command resides s

4条回答
  •  佛祖请我去吃肉
    2021-01-12 06:06

    To reach the directory which has the spaces in it's path you just need to wrap the whole path with quotes. It should look like this:

    cd "/c/Some Folder/Some Other Folder/"

提交回复
热议问题