
バッチ ファイルを通じてサーバー データをロードして Putty を開こうとしています。
を試してみましたが、うまくいきませんでした。ただし、\PuTTY に移動すると、うまくいきます。start "OVH" "C:\Program Files (x86)\PuTTY\putty.exe -ssh [email protected] -pw password"
putty.exe -ssh [email protected] -pw password
構文を修正する最も簡単で、最も速く、最も明確な方法は何ですか?
答え1
「OVH.bat」を次のように編集します。
start "C:\Program Files (x86)\PuTTY\putty.exe" -ssh [email protected] -pw password"
C:\Program Files (x86)\PuTTY\putty.exe
これにより、引数を使用してプログラムが開始されます。-ssh [email protected] -pw password