MajorGeeks Support Forums

Go Back   MajorGeeks Support Forums > Majorgeeks.Com - Support Forums > Software
Register FAQ Members List Calendar Casino Mark Forums Read

Software Software such as operating systems like Windows XP, Windows Vista, Windows 7 etc., or specific programs.


Reply
 
Thread Tools Display Modes
  #1  
Old 02-22-03, 17:20
Neuroline Neuroline is offline
Private E-2
 
Join Date: Jun 2002
Location: Tucson AZ USA
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Unhappy Command Prompt-ipconfig/ping Trouble

Hi all,
I hope someone can help I have been trying to get the ipconfig and ping commands in Win2000pro to execute from the command prompt and am getting these errors :

C:\>ping
'ping' is not recognized as an internal or external command,
operable program or batch file.
C:\>ipconfig
'ipconfig' is not recognized as an internal or external command,
operable program or batch file.

the ipconfig.exe file is there in the C:\WINNT\system32 folder but if exectued from there a small window(command?) blinks then disappears. I installed the wntipcfg.exe from Microsoft which gives a GUI of the IP Info I need but it won't execute from the command prompt either, only from its own C:\Program Files\Resource Kit folder. I have searched the microsoft knowledge base and asked my local ISP tech guys but no real answers.

Thanks in advance.
Reply With Quote
Sponsored links
  #2  
Old 02-23-03, 02:29
lesrae's Avatar
lesrae lesrae is offline
Private First Class
 
Join Date: Feb 2002
Location: Somerset, England
Posts: 82
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I've got no Win2000 experience but a couple of ideas occur:

The commands not being recognised sounds like a PATH problem. the PATH variable tells windows where to search for files by default, if it doesn't include c:\winnt\system32 then that could explain why you can't run ipconfig or ping from the root path (C:\).

To check your path, open a dos window (I don't know win2000 but in XP/NT you select Start/Run and type CMD<RETURN>, or select it from the program menu) and type:
ECHO %PATH%<RETURN>

This will print the current path setting. If c:\windows\system32 isn't in there then that's the problem. You can set the path variable on boot by editing the AUTOEXEC.BAT file in c:\ and putting in a line like:

PATH C:\;C:\WINNT;C:\WINNT\SYSTEM32

When you say that a DOS window blinks and disappears, this is probably because you're running the DOS ipconfig command from within windows, it opens the DOS window, runs the command, then shuts the window, just as you asked

Try opening a DOS window and typing:

CD C:\WINNT\SYSTEM32<RETURN>
IPCONFIG<RETURN>

The results should display and the window will stay open (type EXIT<RETURN> to close it).

Hope this helps.
__________________
Government Warning: Giving up smoking may make you a fat, smug git.
Reply With Quote
  #3  
Old 02-23-03, 15:36
Neuroline Neuroline is offline
Private E-2
 
Join Date: Jun 2002
Location: Tucson AZ USA
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Thumbs up Thanks lesrae

lesrae,

YES! Thanks, that was it. For my JAVA class this semester I had to Add PATH and CLASSPATH for the JAVA SDK folder,
for the complier I guess
Under My Computer\Properties\Advanced\Enviroment Variables You can add and change the PATH variables for User and System. Instead of just adding a PATH for JAVA I Overwrote the existing ones for both User and System. I'm guessing the System PATH/CLASSPATH never needs to be changed?

Thanks again for your Help.
Reply With Quote
  #4  
Old 02-23-03, 23:26
lesrae's Avatar
lesrae lesrae is offline
Private First Class
 
Join Date: Feb 2002
Location: Somerset, England
Posts: 82
Thanks: 0
Thanked 0 Times in 0 Posts
Default

No problem.
__________________
Government Warning: Giving up smoking may make you a fat, smug git.
Reply With Quote
  #5  
Old 03-24-07, 12:06
JOHNNY_SOARES_CCTZ JOHNNY_SOARES_CCTZ is offline
Private E-2
 
Join Date: Mar 2007
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Re: Command Prompt-ipconfig/ping Trouble

Hi there!

Do try and got to --->Properties of my computer--->Click on the Advance tab--->Then click on 'Environment Variables' in the Startup and Recovery section. Look at the System Variables selection and add a new variable by clicking 'New'.

Then for the variable name type PATH and in the Variable Value copy and paste %SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;C:\Program Files\QuickTime\QTSystem\;C:\Program Files\Common Files\Ulead Systems\MPEG

Press ok three times to close the dialog boxes

Hope this helps...

Johnny Soares
CCTZ - Dar es Salaam
Phone: - +255 22 2117730

Remember to make backups first before all hell breaks loose...
Reply With Quote
Sponsored links
Reply

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
C&C Online trouble unclematty Games 1 01-06-04 15:35


All times are GMT -5. The time now is 15:29.


MajorGeeks.Com Home Page
| Admin Tools | All In One | Anti-Spyware | Anti-Virus | Appearance | Backup | Benchmarking | BIOS | Browsers | Covert Ops |
Data Recovery | Diagnostics | Drive Cleaners | Drive Utilities | Drivers | Driver Tools Ergonomics | Firewalls | Games | Game Tweaks | Graphics | Input Devices | Internet Tools | Macintosh | Mail Utilities | Memory | Messaging | Monitoring | Microsoft | Multimedia | Networking | Office Tools | Process Management | Processor | Registry | Security | System Info | Toys | Video | Miscellaneous
|

-->
Powered by vBulletin® Version 3.8.4
Copyright © 2009 vBulletin Solutions, Inc. All rights reserved.
Ad Management by RedTyger