Im having issues with plink.
the line of code is
plink -ssh -l root -pw pass 1.1.1.1 -m cmd.txt
that line of code in a batch should start plink and log in and open the command file and run the commands.
well all i get is Plink unable to open command file.
plink.exe along with cmd.txt are in the same dir as the batch is so the locations should be ok but i have tried exact paths with no go and same error.
any ideas how to solve this? Im running windows 7 pro 64bit
1) The name/path is incorrect.
2) The file is locked. Presumably because it’s opened in some editor.
3) The account running plink doesn’t have access to the command file.
It’s really just a guessing game without further investigation. You could try a program like Process Monitor to check to see what file plink is attempting to open, and what the error Windows returns.
How To Ask Questions The Smart Way