How to execute make with file name in context menu Windows?

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?

Gunhasiz Seytan

Posted 2019-06-12T12:54:12.507

Reputation: 1

No answers