Command line does not work

pts.
Tags:
DataCenter
Networking
I have a win2k machine that does not recognize any network command I type at the command line, I mean ping, ipconfig, tracert etc... Does anybody has a fix for that? Your input would be very much appreciated. Regards

Answer Wiki

Thanks. We'll let you know when a new response is added.

Does any command work from the command prompt? Are you entering cmd or command to get there?

It with out knowing more information, try changing to the system32 sub directory under windows [windows or winnt] and try running the commands for their native directory. If they run from there, then your path statement which can be found from system properties, advanced, enviromental variables, system variables is usually messed up causing this problem.

Let us know more information, like can you run notepad from your command prompt or is it just network commands.

Discuss This Question: 10  Replies

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
  • Senomango
    I get the command prompt either by start> programs> accessories> command prompt or run.I can run notepad from run fine. but I can not do run for example,it gives me an errror msge asking me to check the path.From the command prompt when I type ping x.x.x.x'ping'isn't recognize as an internal or external command operable prgm or batch file. Thanks for replying.
    0 pointsBadges:
    report
  • Senomango
    Sorry I made a stupid mistake, I wanted to reply to your message and instead I reported it as offensive message, I really apologize to you, it is my first time using the site to post questions. I am so sorry. Thanks for your help. Regards and sorry again.
    0 pointsBadges:
    report
  • Dwiebesick
    Ok, W2K does not have msconfig program so you would get an error trying to run this command. Notepad is in both the windows root directory and the system32 so if your path is working to the windows root directory, then notepad should work. change to the system32 directory and run your network commands and let me know if they work.
    2,235 pointsBadges:
    report
  • Senomango
    when I change the directory to what you said, my commands work fine. But how about the msconfig? do you have any idea? Thank you very much for your help. Regards.
    0 pointsBadges:
    report
  • Dwiebesick
    Windows 2000 does not have the msconfig program. You can not run msconfig in W2k. Now, that we know that your programs work by changing to their home directory, the problem is in your path statement. The best advice I can give you is try and find a working W2k in your enviroment and copy the path statement. My W2k path statement looks like this %SystemRoot%system32;%SystemRoot%;%SystemRoot%System32Wbem You can change your path statement by right clicking on my computer, select properties, then advanced tab, enviromental variables, system variables, path then edit.
    2,235 pointsBadges:
    report
  • Yellowtuna
    MSConfig is not included in Windows 2000, but if you can get a copy of MSConfig from XP or Server 2003 it will run on Windows 2000.
    0 pointsBadges:
    report
  • MrWizard
    Msconfig does not come with Windows2000, but the XP version works fust fine. A good alternative is a program called 'Starter' from Codestuff. It does everything msconfig does and more. You can get it at www.download.com
    0 pointsBadges:
    report
  • BinooDas1234
    How about "StartupCPL" or "Startup" alternative to msconfig, which is working fine with my win2k sever pc?
    10 pointsBadges:
    report
  • Melchizedek
    In my opinion, it appears that you may have 'upgraded' from a previous op. sys. Do a 'search' for 'msconfig*' If you find directories such as: C:WindowsHelp you may also find a file: 'msconfig.chn' which is a Compiled HTML help file which opens with Microsoft HTML Help. yuo may have: C:WindowsPrefetch This directory may contain: msconfig.exe-35E4DAE9.pf You may have: C:Windows$NTServicePackUninstall$ This directory may contain: msconfig.exe and msconf.dll msconf.dll is a 'Conferencing Utility dll from Microsoft Corporation: Version 5.1.2600.2180 @ 68KB whish I think identifies XP You may have: C:WindowsDllcache This directory may contain 'msconfig.exe' You may have: C:WindowsServicePackFilesi386 This directory may contain both,'msconfig.exe' and 'msconf.dll' or, You mahe have installed a program like: PCHEALTH which resides in: C:WindowsPCHEALTHHelpCTRBinaries This directory may contain 'msconfig.exe' Please check the version and place both the 'msconfig.exe' and 'msconf.dll' in the 'System32' directory. I do agree with others that your PATH is somewhat 'messed-up', possibly too long with things like: c:windowsProgra~1whatever~1whatever~1 etc,etc,etc Do as suggested and 'clean-up' your path with the provided path statement. If you want to use 'msconfig.exe' because of familiarity make sure that you are not disabling functions you need or 'editing' path statements which conflict with what you wish to accomplish. I suspect that 'msconfig.exe' can run from XP even with SP2 installed if the previous conditions of 'upgrading' and such are true. Either way, I hope this helps. Thank you.
    0 pointsBadges:
    report
  • Ceyarrecks
    first and foremost, when CMD and usuall TCPIP commands are issued (ping, tracert, ipconfig) and they return these errors, check the NIC in Network porperties and assure TCPIP is installed. these errors are usuall when TCPIP is uninstalled/corrupted. (corrupted more common in 9x/Me)
    0 pointsBadges:
    report

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following