Forethinker Forethinker - 1 year ago 91
Bash Question

!start not being found on vim command line

Windows command line has this command

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?

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 Source

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.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download