腻子处于离线状态。需要自动“按下”转义键进行连接

Putty is offline. need to automate the " pressing" of the the escape key to connect

我正在使用批处理文件打开 Putty,其中包含一个名为 test 的已保存会话,它是一个串行连接。 putty.exe -负载测试

正常情况:会话打开后处于离线状态。需要按下退出键才能连接。

我想自动执行此步骤 - 按下转义键。我努力了 putty.exe -load test ^,其中 ^ 是转义键。

如有任何建议,我们将不胜感激。

putty.exe -load test ^ 不会加载和连接任何会话...

这很简单(就像 Linux 上那样成功连接):

putty.exe -load "test"