Can't issue commands from Command Prompt

  • Thread starter Thread starter Rob
  • Start date Start date
R

Rob

I was installing a new router and wanted to use a few DOS commands
(ipconfig,ping) to check it out.
I found that these commands and more, i.e. help, are no longer available
from the DOS prompt on my machine.
I'm running WinXP-SP1a and have run AV, Ad and Spy scans, with nothing
found. Any other ideas,
short of a re-install?
Thanks.
Rob
 
these commands are disabled by the firewall,,,go to firewall,, advanced ect
and enable which one you want to use
Rho_1r
 
Rho_1r said:
these commands are disabled by the firewall,,,go to firewall,, advanced ect
and enable which one you want to use
Rho_1r

:
I'm not using Windows firewall, so that's not what's hampering things.
There are several other commands of a non-communication type which also
won't work.
The response is that they are not of an internal or external command
type and are not an
executable or batch file. Same result in Safe Mode. The window closes
when I type Exit
but I can't get a correct response when I type "Help" or "Edit" or many
other commands.
Anything else that I might check? Thanks.
Rob
 
First, can you execute an internal command, like dir ? If so, the command
line processor is not broken, at least not totally.


Try this.
Open a command window. navigate to the system32 directory
cd \windows\system32

there, try to run edit or ipconfig. If they run, then I suspect the problem
is that your path variables got hosed somehow.

You can set them, carefully, in MyComputer/Properties/Advanced - find the
Environment Variables button at the bottom.
In the lower section, System Variables, Path should contain, among other
things:
%SystemRoot%\system32;%SystemRoot%;

If those two entries are not present, fix them.


Val
--
~~~~~~~~~~~~~~~~~~~~~~~~~~~
www.sdsmt.edu
The best little engineering school you
may not have heard of, but should have!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~

I was installing a new router and wanted to use a few DOS commands
(ipconfig,ping) to check it out.
I found that these commands and more, i.e. help, are no longer available
from the DOS prompt on my machine.
I'm running WinXP-SP1a and have run AV, Ad and Spy scans, with nothing
found. Any other ideas,
short of a re-install?
Thanks.
Rob
 
VManes said:
First, can you execute an internal command, like dir ? If so, the command
line processor is not broken, at least not totally.


Try this.
Open a command window. navigate to the system32 directory
cd \windows\system32

there, try to run edit or ipconfig. If they run, then I suspect the problem
is that your path variables got hosed somehow.

You can set them, carefully, in MyComputer/Properties/Advanced - find the
Environment Variables button at the bottom.
In the lower section, System Variables, Path should contain, among other
things:
%SystemRoot%\system32;%SystemRoot%;

If those two entries are not present, fix them.


Val

Val,
Thanks. It's true that "if you don't use it you'll lose it". You were
correct with the PATH statement
being hosed. I put the 2 commands back in it and all is well again. I
must have deleted them in
error a month or so back when I was doing other things with the Path and
Comspec variables.
Thanks Again. (Gluing hair back in toupee now)
Rob
 
Rob,
I'm glad that sometimes I can put all that antiquated DOS knowledge to use!
Val
--
Bringing you BeadWizard Design Software
www.beadwizard.com
***************************
Practice safe eating -- always use condiments.
***************************

Val,
Thanks. It's true that "if you don't use it you'll lose it". You were
correct with the PATH statement
being hosed. I put the 2 commands back in it and all is well again. I
must have deleted them in
error a month or so back when I was doing other things with the Path and
Comspec variables.
Thanks Again. (Gluing hair back in toupee now)
Rob
 

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