netstat and ipconfig at command prompt not recognized as an internal or external command

Need help.  Working on a Windows Vista Premium system (no choice).  Was using netstat to check ports being used.  worked fine.  All of a sudden  netstat commands are not recognized as internal or external commands.   IPconfig is also not recognized.  Also having problem with MySQL Query Browser not being able to connect to a MySQL instance that is successfully running from the command prompt.  Are al these related?   I think I may have changed something but not sure.. This question is about the NETSTAT.  I think if we can figure this out, the others will fall in place.  Thank you!  Urgent help is needed.  Thank you.

i can get on the internet and surf without any issues.l
OceanStarsAsked:
Who is Participating?

Improve company productivity with a Business Account.Sign Up

x
 
debuggerauConnect With a Mentor Commented:
did the account get locked out?

Are the files still in the windows directory?
0
 
OceanStarsAuthor Commented:
Do you know which Windows Vista directory it should be in?  I'm logged on as administrator on a home pc.
0
 
OceanStarsAuthor Commented:
This is really serious.  My daughter is working from home (she has little ones).  She wanted me to install MySQL which successfully installed.   I checked the process PID in task manager and then the port using netstat -a which worked fine at one point.   Then all of a sudden it didn't.  I decided to check ipconfig as well and it also is not recognized.     netstat /? and ipconfig /?  and even help /?  are all not recognized.
0
Improve Your Query Performance Tuning

In this FREE six-day email course, you'll learn from Janis Griffin, Database Performance Evangelist. She'll teach 12 steps that you can use to optimize your queries as much as possible and see measurable results in your work. Get started today!

 
jfer0x01Connect With a Mentor Commented:
Should be c:\windows\system32
0
 
OceanStarsAuthor Commented:
netstat is in the c:\windows\system32 directory.  if i type netstat or ipconfig from this directory it runs.
when i typed SET   to see what the temp variables were   it just had  PATH=    and nothing following
0
 
jfer0x01Commented:
thats why

make a new path statement equaled to

%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem

1. go to control panel, out system path in top right corner

2. go to environment variables, you should see a familiar GUI Windows at this point

3. Find and edit the path statement

Jfer
0
 
jfer0x01Commented:
Here's a link I found thats show more than one way

http://banagale.com/changing-your-system-path-in-windows-vista.htm
0
 
jmarti80Commented:
This is actually a simple fix.  All you need to do is change the path.  Follow the directions here:

http://www.computerhope.com/issues/ch000549.htm

0
 
debuggerauCommented:
correct link jfer0x01, unfortunately jmarti80's link is for XP..

0
 
OceanStarsAuthor Commented:
Thank you.  worked
0
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.