Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

!start not being found on vim command line

Tags:

shell

vim

windows

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
like image 759
Forethinker Avatar asked May 15 '26 12:05

Forethinker


1 Answers

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.

like image 195
paxdiablo Avatar answered May 18 '26 09:05

paxdiablo