Wednesday, November 4, 2009

'…….' is not recognized as an internal or external command, error in windows.

RESOLUTION

Go to My Computer-> right click-> Properties->Advanced->Environment
Variables->System variables and locate “PATH”. Add C:\windows\system32 at the
end if it is not already there.

(Click on New->variable name: PATH->Variable value: C:\windows\system32 )

And now run the command. Problem solved...



Basic tips for this Problem OR another way of run commands


1. when we are going to start--> run-->cmd
it will open into the folder
C:\Documents and Settings\Administrator---ok
2.when we are giving commands like (ipconfig )means we are trying to execute a .exe file which is under that folder
if it is not there it will then give an error” unrecognized command or file"
3.but when we install the operating system our required file get installed in the folder
C:\WINDOWS\system32
that means if u go to C:\WINDOWS\system32
through dos command and give ipconfig it will work.
5.Then go to C:\WINDOWS\system32 and copy that ipconfig file and place it in
C:\Documents and Settings\Administrator
and now run the command. Problem solved...



No comments:

Post a Comment