Escaping a batch file echo that starts with a forward slash and question mark

前端 未结 2 1934
忘掉有多难
忘掉有多难 2020-12-10 06:49

Bit of a tricky one. How can I correctly escape the following in a batch file?

echo    /?   display this help text

This particular combina

2条回答
  •  有刺的猬
    2020-12-10 07:44

    For escaping echo arguments, you can use the alternative syntax echo.:

    echo./?
    

提交回复
热议问题