I was wondering how to pass file name into make command in windows context menu.

I've managed to do something like this

@="D:\\cygwin\\bin\\bash.exe -c 'make install'"

which works great. But making something like this won't work at all

@="D:\\cygwin\\bin\\bash.exe -c 'make %1'"

I even tried to change %1 to %~nx1 and %~nxI but it doesn't work either. Any solution?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.