In Bash, I can do
EDITOR=vim command and
command will be run with
EDITOR set to
vim, but this won't affect the value of
EDITOR in the shell itself. Is it possible to do this in
What would is the
You can do it in windows like this no need for installing anything.
You'll see a list of variables and you'll see EDITOR=vim, now run "set" again and it won't be listed.
You can do multiple &&'s to add additional commands:
EDIT: /C exits the new cmd right away after running, if you produce output with the new one it will still be visible in the parent window.
You can opt to use /K in which case the new cmd window stays open at the end of the run.
I have knocked up a batch file
The only difference is that, because of the way
The batch file could be elaborated to remove the 8-parameter restriction by building up the command string within the
you can use ported util