Computing.Net > Forums > Windows XP > Path environment variable

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Path environment variable

Reply to Message Icon

Name: Shun-Luoi
Date: February 10, 2003 at 13:50:35 Pacific
OS: Windows XP
CPU/Ram: PIII 512 MB Ram
Comment:

I downloaded pscp.exe to my computer and tried to set the PATH environment variable so that in the Command Prompt I would only have to type pscp. That way I wouldn't have to always type the full path the pscp.exe.

So i went into my System | Advanced | Environment Variables. In the System variable box I selected Path and clicked Edit. At the end of the list I added C:\pscp.exe

Then after clicking "ok" out of that I restarted my computer. Now in Command Prompt when I type pscp, I get the following error:

'pscp' is not recognized as an internal or external command, operable program or batch file.

How do I set it so that I only have to type in pscp, no matter what directory I am in?



Sponsored Link
Ads by Google

Response Number 1
Name: Doug
Date: February 10, 2003 at 16:41:42 Pacific
Reply:

Try setting the path in autoexec.nt.


0

Response Number 2
Name: Hank Schafer
Date: February 10, 2003 at 19:13:49 Pacific
Reply:

The problem is that you added the executable's name to a PATH statement - what you need to do is go back and re-do that so that it's only including the PATH to the exe, i.e., if you put it in C:\downloads - THAT is what you list, not the name of the executable itself... if you put it in the root, which is NOT advisable, all you need to do is make sure that C:\ is already on the PATH statement - it should be...


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Windows XP Forum Home


Sponsored links

Ads by Google


Results for: Path environment variable

Environment variables batch script www.computing.net/answers/windows-xp/environment-variables-batch-script/135214.html

Environment Variable Corrupted! www.computing.net/answers/windows-xp/environment-variable-corrupted/91260.html

environment variables www.computing.net/answers/windows-xp/environment-variables/60726.html