Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

Cannot Ping from the command line.

Posted on 2004-10-06
6
189 Views
Last Modified: 2010-04-14
Just recently I can no longer use the networking functions from the command line.  I can still use the "ping" command, and tracert commands if I browse directly to the Winnt/system32 directory and run them from there, however I can not just type it into the command window as I used to.  Is there a patch or something that took this functionality away?  I receive the error code 'Ping' is not recognized as an internal or external command.

V/r
Keith Critchlow
WWW.secureathome.net
Security for your Home Computer
Virginia Beach, Virginia
0
Comment
Question by:CriketyCrick
  • 3
  • 2
6 Comments
 
LVL 23

Expert Comment

by:Danny Child
ID: 12239633
has something tinkered with your PATH environment variable?

from dos, type SET and it should include something like this:
Path=C:\Program Files\NetworkSimplicity\ssh;C:\WINNT\system32;C:\WINNT;C:\WINNT\
System32\Wbem;C:\Program Files\Symantec\pcAnywhere\;C:\Program Files\Resource Ki
t\;C:\Program Files\Support Tools\

and c:\winnt\system32 should be in there

also can be seen under My Comp.. Properties.. Advanced.. Environment Variables - can edit it back in again here.
0
 

Author Comment

by:CriketyCrick
ID: 12239989
Nice tip, I looked and under path it is there everything is there with the exception that there is also a Perl directory in the front.

V/r
Keith Critchlow
WWW.secureathome.net
Security for your Home Computer
Virginia Beach, VA
0
 
LVL 95

Expert Comment

by:Lee W, MVP
ID: 12240038
All put certainly an error in the path statement.  If you don't see it yourself, post the contents of the %path% variable here.  Just type

set path

in a command prompt and post the result.
0
NAS Cloud Backup Strategies

This article explains backup scenarios when using network storage. We review the so-called “3-2-1 strategy” and summarize the methods you can use to send NAS data to the cloud

 
LVL 23

Accepted Solution

by:
Danny Child earned 50 total points
ID: 12247197
The order's not important: from memory, when you enter a command, it tries the current folder, then the root, then works it's way through the PATH statement in order, checking each location for the command you entered.  
You may get a nanosecond or two faster response by moving c:\winnt\system32 to the start, but I wouldn't bother....

but...
some googling turned this up
http://www.techimo.com/forum/t121536.html
where someone else has a perl entry at the start, which caused their problem.  Your entries are all separated by semicolons ; yep??
heck, delete the perl entry, just for fun (note down what it was, first!), and let us know the outcome.
you may need to restart after making a change, for the new settings to take effect.
0
 

Author Comment

by:CriketyCrick
ID: 12247821
Well thanks, after you said that I remembered that prior to this problem I had installed the windows 2000 optional resource kit so that I could use the clear screen saver on my servers.  That is what installed the Perl into the path.  I set the path to Perl at the end and now my Ping and tracert and all my other commands work from the command line again.  
V/r
Keith Critchlow
WWW.SecureAtHome.net
Security for your Home Computer
Virginia Beach, VA

"If Google could get a penny for everytime that a technician used it to solve a problem, they wouldn't need to sell stock at all."
0
 
LVL 23

Expert Comment

by:Danny Child
ID: 12297585
cheers!
just an afterthought - can you still see the utilities in the perl folder?  just wondering if we should check out possible limitations on the length of the path statement....
0

Featured Post

Use Case: Protecting a Hybrid Cloud Infrastructure

Microsoft Azure is rapidly becoming the norm in dynamic IT environments. This document describes the challenges that organizations face when protecting data in a hybrid cloud IT environment and presents a use case to demonstrate how Acronis Backup protects all data.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Windows 2000 Kerberos problem 5 330
Print Server: NT to 2008 10 587
Active Directory Migration from windows server 2003 to Windows Server 2012R 4 660
ClamAV for Old Windows 2000 Server 7 2,077
NTFS file system has been developed by Microsoft that is widely used by Windows NT operating system and its advanced versions. It is the mostly used over FAT file system as it provides superior features like reliability, security, storage, efficienc…
Giving access to ESXi shell console is always an issue for IT departments to other Teams, or Projects. We need to find a way so that teams can use ESXTOP for their POCs, or tests without giving them the access to ESXi host shell console with a root …
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

790 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question