Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1587
  • Last Modified:

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
0
OceanStars
Asked:
OceanStars
  • 4
  • 3
  • 2
  • +1
2 Solutions
 
debuggerauCommented:
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
What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

 
jfer0x01Commented:
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

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

  • 4
  • 3
  • 2
  • +1
Tackle projects and never again get stuck behind a technical roadblock.
Join Now