the default behavior in bash and windows are different, for windows the cmd will be called and for bash the no extension is called.