I am using Plink to execute remote command:
When using this from cmd prompt in single line it doesnot work:
C:\>c:\plink.exe -l userId -pw psw -m C:\goto\test.bat remote_host
It says unable to open command file "C:\goto\test.bat"
But The following works:
C:\>c:\plink.exe -l userId -pw psw remote_host
C:\>C:\goto\test.bat
Please help.