如何在plink中传递包含双引号的参数(Windows)

时间:2016-01-22 03:40:05

标签: plink

在Plink(Windows)中处理双引号非常困难。 我需要发送一个参数,包括双方的双引号,但即使我尝试了很多\"," \"," \"",我有几个错误如下。

plink.exe  -ssh -l testacct -pw  kajskldf 10.31.137.199 " myexe where "id > 6000" "

The system cannot find the path specified.
or
Argument for 'where' option must be bounded by ""

你能让我知道如何将这种论点传递给linux服务器吗?

更新

此语法有效。

plink.exe  -ssh -l testacct -pw  kajskldf 10.31.137.199 " myexe where \\\""id \> 6000\\\"" "

0 个答案:

没有答案