fx files to mgfx file

what am I doing wrong?
its saying “Too many arguments”

Take a look at this, its a .bat file.

2MGFX reductionEffect.fx reductionEffect.mgfxo
2MGFX resolveShadowsEffect.fx resolveShadowsEffect.mgfxo

Compare it to what you’re doing.

You were passing Directx11 as an argument without the correct prefix and with incorrect spelling. It should be /Profile:DirectX_11

thanks it worked konajugames