Button help with Monkeys´s Audio

i would like to use two commands for compressing the chosen .wav(s) to .ape, or decompressing .ape to .wav. The general usage is described in the DOS help screen for MAC.exe:

How would the appropriate code be? I assume, the command has to run in DOS-mode, but i can´t figure out how to set the wildcards for the names.

Compress:
"F:\Programme\Monkey's Audio\mac.exe" {f} {f|ext=ape} -c2000

Decompress:
"F:\Programme\Monkey's Audio\mac.exe" {f} {f|ext=wav} -d

etc

That´s perfect, thanks, Jon! :sunglasses:

I even thought about that {f} thing, but wasn´t sure about the rest & if it´s got to be DOS or Opus mode. Cool!