Forethinker Forethinker - 19 days ago 7
Bash Question

!start not being found on vim command line

Windows command line has this command

start
that executes the argument with the default program. This is not an executable so I cannot just set it to path. If so, is there a way for me to run it from gvim command line?
!start
returns:

C:/cygwin/bin/bash -c "start"
/usr/bin/bash: start: command not found
shell returned 127
Hit any key to close this window...


and if I include any arguments, I get

E371: Command Not Found

Answer

Internal cmd.exe commands can be executed with:

cmd /c whatever

(where whatever is the command)

However, given that's a pain to type in, I'd consider creating a go.cmd (for example) batch file to do the work for you.

Comments