Commands not working in cmd prompt

giri_1

Distinguished
Oct 15, 2010
4
0
18,510
hi

in my pc
commands are not working in cmd prompt (some commands are working properly)

i got the error like

'(________)' is not recognized as an internal or external command,
operable program or batch file.
 
hi ijack,

ipconfig, ping, net, ftp, finger, find, more even help is also not working (i am not giving any path)

cd mkdir, rmdir, dir......... these commands are working properly

thanks
 
hi

yes i am using valid commands



ipconfig, ping, net, ftp, finger, find, more even help is also not working (i am not giving any path)

cd mkdir, rmdir, dir......... these commands are working properly

thanks
 
The commands that are working are all (I'm pretty sure) commands internal to the command processor, whereas the ones that aren't working are all external programs. So either those programs are missing (unlikely) or your PATH variable isn't set correctly.

Try doing

dir c:\windows\ping.exe /s

to check the former (it should find the program in c:\windows\system32) and

echo %PATH%

to check the latter (the path should include the directory c:\windows\system32).

If the PATH variable is wrong you can edit it as shown in this article.