0

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

I've managed to do something like this

[HKEY_CLASSES_ROOT\Directory\Background\shell\cygwin_bash_mi\command]
@="D:\\cygwin\\bin\\bash.exe -c 'make install'"

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

[HKEY_CLASSES_ROOT\*\shell\cygwin_bash_mp\command]
@="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.