Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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

share|improve this question

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.

share|improve this answer

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.

  1. Right click on my computer
  2. Click on properties
  3. In the system properties window click on the advanced tab
  4. In the advanced section click the environment variables button.
  5. Highlight path and add what you need to your path variable.

Screen shot of where path can be altered. Credit to the original file owner.

share|improve this answer

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

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .