|When i use the below script i can see the session logged into to a remote server and the default path as : |
putty.exe -ssh USER@22.214.171.124 -pw XXXX
Now i wanted to move to a specific folder ( cd /sfv4-client/qacand) in that session which was displayed above for that i am trying to use plink as below:
The batch file run from a windows box is
d:\putty\plink -ssh -pw XXX USER@qacandclient01a -m script.txt
script.txt contains : cd //sfv4-client//qacand (path to change)
I wanted to change the path as mentioned in script.txt, using plink i cant see the session displayed to see the path changed, its runs and disappears away.
Could anyone help me in changing the path using plink in the session which was displayed