调用putty执行指定命令
- 作者: 帐号已停机
- 来源: 51数据库
- 2022-09-21
@echo off echo =============================== echo Production server echo =============================== echo please input "y" to continue...... set /p input= if "%input%"=="y" ( "putty.exe" -pw serverPassword -m script.txt username@IP echo reboot server command executed. ) else echo Does not execute any command pause
推荐阅读
