可以使用如下方式转义
echo | set /p="{内容}" | {命令}
例如,正常传参:
fofax "title="系统" && (protocol="http" || protocol="https") && after="2022-08-07""

直接报错,不执行,但是我们可以使用上述方法传参。
修改为 echo | set /p="title="系统" && (protocol="http" || protocol="https") && after="2022-08-07"" | fofax

可以看到正常执行。