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

后端 未结 4 1042
灰色年华
灰色年华 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:12

    Just put the command to execute between double quotes, like so

    "C:\Program Files\whatever\aCmd.exe"
    

提交回复
热议问题