No Ping Command

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I just reformatted my system and reinstalled everything from scratch. ALL
patches / fixes are done including svc. pack 2.

I shell out to DOS and try the ping command and it says 'ping' is not
recognized as an internal or external command, operable program or batch file.

I used ping before I rebuilt my system with no problems.

Any ideas why now I can't?

Thanks.

Ty
 
Ty said:
I just reformatted my system and reinstalled everything from scratch.
ALL patches / fixes are done including svc. pack 2.

I shell out to DOS and try the ping command and it says 'ping' is not
recognized as an internal or external command, operable program or
batch file.

I used ping before I rebuilt my system with no problems.

Any ideas why now I can't?

Thanks.

Ty

In a command prompt, type

path

What do you see? Sounds like %systemroot%\system32 isn't in there...that's
where ping.exe lives. If you cd to that folder, can you successfully ping?
 
Ty said:
I just reformatted my system and reinstalled everything from scratch. ALL
patches / fixes are done including svc. pack 2.

I shell out to DOS and try the ping command and it says 'ping' is not
recognized as an internal or external command, operable program or batch file.

I used ping before I rebuilt my system with no problems.

Any ideas why now I can't?

Thanks.

Ty

1. Start a Command Prompt (what you call "DOS", except that there
is no DOS under WinXP).
2. Type this command: path
3. Report what you see.
 
This is the path I see:

PATH=C:\Program Files\Common Files\Crystal
Decisions\2.0\bin;%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;C:\Program Files\ATI Technologies\ATI Control Panel;C:\WINDOWS\DPDrv
 
PATH=C:\Program Files\Common Files\Crystal
Decisions\2.0\bin;%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;C:\Program Files\ATI Technologies\ATI
Control Panel;C:\WINDOWS\DPDrv
 
It looks like someone or something has done things in your registry.
Run c:\Windows\system32\regedt32.exe, then navigate to
HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Environment
Check the type of your "path" value. I suspect it is Reg_sz. It must be
Reg_Expand_sz.


Ty said:
PATH=C:\Program Files\Common Files\Crystal
Decisions\2.0\bin;%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\W
bem;C:\Program Files\ATI Technologies\ATI
 
Ty said:
PATH=C:\Program Files\Common Files\Crystal Decisions\2.0\bin;
%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;
C:\Program Files\ATI Technologies\ATI Control Panel;C:\WINDOWS\DPDrv
Hi

As you see non-expanded environment variables in your path, it is some
rough 3rd party installer have changed the registry value type for the
path from "REG_EXPAND_SZ" to "REG_SZ" (I would guess from one of the
programs that have added itself to the path).

Bill Stewart's Fixpath.exe will fix this issue.

Fixpath.exe is in fixpath2.zip available here:
http://internet.cybermesa.com/~bstewart/misctools.html
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top