Command Prompt

T

toreilly

When I try to do a "ping" or "ipconfig" or "dir/p" in the command prompt
window nothing happens.
Can anybody please advsie.
Thanks

tom
 
P

Pegasus \(MVP\)

toreilly said:
When I try to do a "ping" or "ipconfig" or "dir/p" in the command prompt
window nothing happens.
Can anybody please advsie.
Thanks

tom

Let's make sure for starters that you're running a proper Command Prompt:
- Click Start / Run
- Type these letters: cmd
- Click the OK button.
- Type the following commands and report the result:
- %SystemRoot%\system32\ping.exe{Enter}
- %SystemRoot%\system32\ipconfig.exe{Enter}
- path{Enter}
 
T

toreilly

Thanks for the response,
First of all when I type "cmd" after the Start/Run nothing happens.
I have to type "command" to get the command prompt window.
I then typed in the 2 commands as advised but nothing happened in either
case, i.e. when I press enter I just get the command prompt flashing again.

tom
 
P

Pegasus \(MVP\)

This is getting more serious. Try this modified set of steps:
- Click Start / Run
- Type these letters: %systemroot%\system32\cmd.exe
- Click the OK button.
- Type the following commands and report the result:
- %SystemRoot%\system32\ping.exe{Enter}
- %SystemRoot%\system32\ipconfig.exe{Enter}
- path{Enter}
 
T

toreilly

Hi,
When I typr as advised after Start/Run I get the following message:
"Windows cannot access the specified Device, Path or File. You may not have
the appropriate permission"

tom
 
P

Pegasus \(MVP\)

Try double-clicking cmd.exe via Explorer. You will find the file in
c:\windows\system32.
 
T

toreilly

Hi, the cmd icon is not to be found in c:\windows\system32.
I did a search and found it in C:\I386.
I clicked cmd in c:\i386 and when I tried "ping"and "ipconfig" in the
command prompt window now visable I got what I assume is the correct response.
Why is the icon in the wrong place and what do I do to correct it? f it is
necessary to correct it

tom
 
P

Pegasus \(MVP\)

If cmd.exe is not in the system32 folder then someone or something removed
it from there. Best to copy it back to where it belongs. You should also
scan your machine for malware and viruses. Files don't just disappear by
themselves.

You previously mentioned "command.com". This is a legacy command processor
that you should not use - it lacks numerous features that the WinXP native
command processor "cmd.exe" has.
 
T

toreilly

Yes I have copied the file across from i386 to win\system32 and it works fine
now.
I periodically scan for malware and viruses and generally find none.
I will do a malware scan now and will let yopu knwo the result.

Thanks for all your help.

tom
 

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

Similar Threads

DOS command not recognized in XP 3
Obtaining IP address 1
Batch file path 4
Command Prompt problem 4
Command Prompt size and position? 11
Command Prompt 1
CMD prompt commands don't work 7
Command Prompt v. Run Box? 2

Top