To register for an Internet.com membership to receive newsletters and white papers, use the Register button ABOVE.
To participate in the message forums BELOW, click here
VBForums  

VB Wire News
Part 10 of the Visual Basic .NET 2010 Express Tutorial Complete!
How to Use the Visual Studio Code Analysis Tool FxCop
Article :: Interview with Andrei Alexandrescu (Part 3 of 3)
Introducing Visual Studio LightSwitch
Visual Studio LightSwitch Beta 1 is Available



Go Back   VBForums > General > General PC

Reply Post New Thread
 
Thread Tools Display Modes
Old Dec 13th, 2005, 03:30 PM   #1
GamerMax5
Hyperactive Member
 
GamerMax5's Avatar
 
Join Date: Nov 04
Location: United States
Posts: 383
GamerMax5 is on a distinguished road (10+)
Question ipconfig command not working anymore!!!

I can't get any network monitoring commands like ipconfig and netstat to work in Command Prompt anymore! What happened?

It shouldn't have anything to do with the fact that I changed the default directory because I program in Java could it?
__________________
Only those who try will become

Check out my new tech blog my other websites.

http://gmcustombuilds.blogspot.com

http://aidpestcontrol.viviti.com

http://www.facebook.com/gfmartin05
GamerMax5 is offline   Reply With Quote
Old Dec 13th, 2005, 03:32 PM   #2
dglienna
Banned
 
dglienna's Avatar
 
Join Date: Jun 04
Location: Center of it all
Posts: 17,901
dglienna is a glorious beacon of light (400+)dglienna is a glorious beacon of light (400+)dglienna is a glorious beacon of light (400+)dglienna is a glorious beacon of light (400+)dglienna is a glorious beacon of light (400+)dglienna is a glorious beacon of light (400+)
Re: ipconfig command not working anymore!!!

Did you change the path statement? Can you specify the path and use the commands?
dglienna is offline   Reply With Quote
Old Dec 13th, 2005, 03:57 PM   #3
GamerMax5
Hyperactive Member
 
GamerMax5's Avatar
 
Join Date: Nov 04
Location: United States
Posts: 383
GamerMax5 is on a distinguished road (10+)
Re: ipconfig command not working anymore!!!

Yeah I changed the path manually to the local c: drive and then tried the commands but it says that it's an unrecognized batch command and won't execute
__________________
Only those who try will become

Check out my new tech blog my other websites.

http://gmcustombuilds.blogspot.com

http://aidpestcontrol.viviti.com

http://www.facebook.com/gfmartin05
GamerMax5 is offline   Reply With Quote
Old Dec 13th, 2005, 03:59 PM   #4
dglienna
Banned
 
dglienna's Avatar
 
Join Date: Jun 04
Location: Center of it all
Posts: 17,901
dglienna is a glorious beacon of light (400+)dglienna is a glorious beacon of light (400+)dglienna is a glorious beacon of light (400+)dglienna is a glorious beacon of light (400+)dglienna is a glorious beacon of light (400+)dglienna is a glorious beacon of light (400+)
Re: ipconfig command not working anymore!!!

No, I didn't mean to change it now. The Windows\System folder has to be in the path.

try this:
VB Code:
  1. c:\windows\system32\ipconfig
dglienna is offline   Reply With Quote
Old Dec 13th, 2005, 04:04 PM   #5
GamerMax5
Hyperactive Member
 
GamerMax5's Avatar
 
Join Date: Nov 04
Location: United States
Posts: 383
GamerMax5 is on a distinguished road (10+)
Re: ipconfig command not working anymore!!!

Thx! That worked but why do I have to change to the windows/system32 directory when I didn't have to do that before?
__________________
Only those who try will become

Check out my new tech blog my other websites.

http://gmcustombuilds.blogspot.com

http://aidpestcontrol.viviti.com

http://www.facebook.com/gfmartin05
GamerMax5 is offline   Reply With Quote
Old Dec 13th, 2005, 04:43 PM   #6
k1ll3rdr4g0n
Fanatic Member
 
Join Date: Oct 04
Posts: 751
k1ll3rdr4g0n has a spectacular aura about (100+)k1ll3rdr4g0n has a spectacular aura about (100+)
Re: ipconfig command not working anymore!!!

This is my PATH
Quote:
PATH=C:\GTK\bin;C:\Perl\bin\;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\
Wbem;C:\Program Files\MySQL\MySQL Server 4.1\bin;c:\progra~1\softpae\builde~1\bi
n;c:\progra~1\softpae\builde~1\compiler\bin
Goto cmd and type:
Quote:
PATH=C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem
That is the bareminium you need.

If that doesn't work, (On XP) Right click My Computer -> Properties. Click on the tab that is labeled Advanced. Click on Environment Variables. Scroll down in the window 'System Variables' until you see 'Path'. Put this in there:
Quote:
%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem
Click OK then Click OK and Click OK, exit out of the comand prompt and re run cmd (or command.com if your old school....)

What does Path do?
It tell your computer to look for an executable that isn't in the folder you are currently in. Which allows you to run programs such as ipconfig without having to be in the windows folder.
__________________
My Projects: [ Instant Messagener Client/Server ] [ VBPictochat ]

My Sites:
[ Datanethost ]
[ Helpdesk ]

Remember if my post was helpful then Rate This Post.
k1ll3rdr4g0n is offline   Reply With Quote
Old Dec 13th, 2005, 05:13 PM   #7
GamerMax5
Hyperactive Member
 
GamerMax5's Avatar
 
Join Date: Nov 04
Location: United States
Posts: 383
GamerMax5 is on a distinguished road (10+)
Re: ipconfig command not working anymore!!!

Thx a lot. That helped out big time. I changed the path variable so that I could compile Java programs easier.
__________________
Only those who try will become

Check out my new tech blog my other websites.

http://gmcustombuilds.blogspot.com

http://aidpestcontrol.viviti.com

http://www.facebook.com/gfmartin05
GamerMax5 is offline   Reply With Quote
Reply

Go Back   VBForums > General > General PC


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 05:02 AM.





Acceptable Use Policy

Internet.com
The Network for Technology Professionals

Search:

About Internet.com

Legal Notices, Licensing, Permissions, Privacy Policy.
Advertise | Newsletters | E-mail Offers

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.