Batch Execution Workflow Variable Error


I'm trying to launch a workflow on Knime Cloud analytics Platform on Azure Windows server, and I need to pass a simple string variable to the workflow but as I launch this command:

.\knime.exe -consoleLog -noexit -nosplash -application org.knime.product.KNIME_BATCH_APPLICATION -workflowDir="{{WORKFLOW_PATH}}" -workflow.variable=env,'test',string

I get this error during execution: 

ERROR Main BatchExecutor unknown option '-workflow'


How can I pass variable to the workflow? What's wrong with -workflow.variable=env,'test',string (that's on knime docs)?

Check that the dash in front of the options is indeed a dash (minus) sign and not something else that just looks like a minus.

Thank you for the answer,

I've checked and it is a "real" dash like in the other options, not something else


what else could it be?