# Commands not working in cmd prompt

Tags:
Last response: in Windows XP
Share

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.

This usually means you are typing the command wrong or you are not giving the full path to the command if it's not in the PATH variable.
Related ressources

Or possibly they are commands that are only available to the Administrator.

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

hello

i am not giving any path for commands.... is it required

and also i am not set any PATH variable. i think by default its came

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.