Dos Commands not working from cmd Prompt

  • Thread starter Thread starter Tarun
  • Start date Start date
T

Tarun

I have a problem running DOS commands when opening a cmd window. I open the
window and try to execute a command such as 'ping' and receive the following
error;

'ping' is not recognized as an internal or external command, operable
program or batch file.

However, if i type the full path c:\windows\system32\ping i can get the
program to run

Please let me know fast the solution
 
Open a cmd window and type the word path and hit enter.
It should show you one or more paths to various folders, separated by
semicolons. One of those paths should be c:\windows\system32.

If that path is not there, you should be able to google for info on
how to add it to your path or let us know and someone should be able
to help you add it in a way that it will be persistent even after
rebooting. I can't remember the details right now.

-Paul Randall
 
OK, I'm a little dense
In system properties, I go to the 'advanced' TAB.
I click 'environmental variables'.
PATH is incorrect, so I click 'edit'.
I then type in all the stuff you show in quotes, without the quotes.
my question is ...does all that go in PATH with the commas?
 

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

Command prompt error 4
Command Line As Admin: Endless Clock? 6
CMD prompt commands don't work 7
Commands 5
CMD prompt error 4
Command Prompt 4
Command Prompt 5
General File Path Issue 2

Back
Top