I have a batch file with a query like pscp .... written in it. When i try to run that file an error pops up saying pscp is not recognized as an internal or external command, operable program or a batch file. On my computer, putty.exe is located at C:\Putty. I've this path to the environmental variables and still facing the same error.
Need some help. Thanks in advance
3 Answers
You can put the files in c:\putty but make sure that the location is in your path. Otherwise you will still have the same problem.
- Right click on my computer
- Click on properties
- In the system properties window click on the advanced tab
- In the advanced section click the environment variables button.
- Highlight path and add what you need to your path variable.
pscp is the PuTTY Secure Copy program for Windows, analogous to scp on UNIX-type systems. It allows you to securely copy files using the SSH protocol.
Download the file from the link above, put it in your C:\Putty directory, and you should be good to go.
You should download all the file associated with putty not only "putty.exe" from the below link:A .ZIP file containing all the binaries (except PuTTYtel), and also the help files
0