Re: cmd doesn't search my path for programs

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



You certainly confused me by quoting something other than
what it says one the screen, if only because unresolved variables
to cause this type of problem.

To home in on the problem you need to tell us a few things, e.g.
- Does the problem occur when you run commands from the
Command Prompt?
- Did you use cmd.exe to launch the Command Prompt?
- What is the exact path shown by echo %path%?
- What exact message do you get when things do not work?
- Give an example of a command that does not work!
- Where exactly does this command reside?


<israelhsu@xxxxxxxxx> wrote in message
news:1169362489.474242.56910@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

Pegasus (MVP) wrote:

Type the command echo %path% from a Command
Prompt. Does it read litterally

%SystemRoot%;%SystemRoot%\system32;%SystemRoot%\system32\WBEM;E:\Programs\1-
File
Utilities

No, it doesn't read that way literally. The variables are expanded
correctly (E:\WINDOWS). I just didn't want to confuse anyone by showing
that my system root is on drive E:.

And programs like notepad and ipconfig run from anywhere (they're
located in E:\WINDOWS\system32 I think.)

Any other ideas?



.



Relevant Pages