Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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

2 Answers 2

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

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.