Linda W wrote:
I changed my COMSPEC on win32 to C:\bin\bash.exe.

In vi, when I use the "!" to execute a command on Windows,
like "ls", it tried to execute it with:

C:\bin\bash /c ls
where       ^^--- is an argument to the DOS/Windows Shell, but doesn't
work for for bash.
Is there some other option to tell Vim not to use the DOS/Windows
Shell options to non-DOS/Win shells? :-)

I searched the VIM help: the section on COMSPEC didn't say
anything relevant, and searching for "/C" ("\/C", "\ \C") didn't turn
up anything productive.

Thanks,
linda



see
        :help 'shell'
        :help 'shellcmdflag'
        :help 'shellpipe'
        :help 'shellquote'
        :help 'shellredir'
        :help 'shellslash'
        :help 'shelltemp'
        :help 'shellxquote'
        :help dos-shell
        :help option-backslash


Best regards,
Tony.

Reply via email to