I am using a batch file to run Grunt with some console customization. I was wondering if there is a way to add grunt and a space to the commands I enter into the console.
Here is my batch file:
CD /D "C:\Users\ACCRS\Documents\Grunt"
START cmd /K "grunt & title Grunt & prompt $"
It would be good if I could make it so it only add grunt if the command is not recognized without it.
dirCMD would just processdir. But forgruntcommand, where it's not a built-in command and isn't a EXE/COM/BAT/etc in %PATH%, CMD should automatically prependgruntand then process the whole thing asgrunt gruntcommand. – Iszi Aug 20 '14 at 19:59You could try to make aliases for at least all the common grunt commands, I think. Give it a shot!
– Mark Allen Aug 20 '14 at 21:55