题
????Plink??????:
????????CMD????????:
C:\>c:\plink.exe -l userId -pw psw -m C:\goto\test.bat remote_host
?????????? “C:\??\ test.bat?”
??,?????:
C:\>c:\plink.exe -l userId -pw psw remote_host
C:\>C:\goto\test.bat
????
解决方案
Try running it like this:
c:\plink.exe -l userId -pw psw remote_host C:\goto\test.bat
其他提示
Judging by some documentation, this should work:
C:\>c:\plink.exe -l userId -pw psw remote_host C:\goto\test.bat
This has worked for me:
Call \\LocalServerName\plink.exe -pw PASSWORD -m D:\FOLDER\FILE.exe USER@REMOTESERVER
Or if its a local computer:
Call c:\Folder\plink.exe -pw PASSWORD -m D:\FOLDER\FILE.exe USER@REMOTESERVER
Caps - Change it to your state
不隶属于 StackOverflow