Path not being expanded.

I have several Windows 2000 computers which have a particurlar program installed. On all of them, if you try to use a  command line command such as ping, I get '<command> not a recognized internal or external command' unless I cd to c:\winnt\system32 first in which case it works OK. I know that the path statement is correct. I have seen the fix for this here before but cannot find it now. I remember that it involved a simple register hack, something about changing the type I think. Can anyone help me?
Who is Participating?
Control Panel - System - Advanced tab, 'Environment Variables' button, you should see Path under "System Variables"


into the path....
Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

dmelderAuthor Commented:
 Thanks for the comment. The path statement is correct. The system is not recognizing the %SystemRoot% part.
the path is hklm\system\currentcontolset\control\session manager\environment
dmelderAuthor Commented:
Thats It!
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.