This is related to the first character of the parameter, ie the -
For example file=input.txt, /file=input.txt and --file=input.txt will probably all work, but not -file=input.txt.
Quite a lot of programs would accept /file=input.txt inplace of -file=input.txt which may allow a workaround.