Thursday, July 28, 2011

cmd.exe works but cmd does not work in Start Run in Windows XP?

Once I was working on my office computer trying to experiment something and after sometime I realised that the experiment has led me to a great problem. I was not able to open command prompt from Start -> Run available in Windows. What was the problem, just few minutes back I was very much using the Run Command to open Windows Command Prompt.

When I tried typing cmd in Start -> Run I was greeted by an "Open With" dialog with disabled "Always use the selected program to open this kind of file" option and that too unticked.

Hmmm.. well thats a difficult situation indeed and after hours of surfing the internet I finally reached to nowhere. None of the articles actually pointed me to the right direction and so I thought that if I get a solution to bringing my cmd back on track I will try to post the same so that others could be benefitted.

One more crazy thing I found during all this hunting for the correct solution was that when I type cmd.exe in the Start -> Run then my command prompt opens correctly. So what is the problem with cmd.

Well now as the answer is with me I would share the same here. The answer to this big question rests in the way Run command recongnises an Microsoft Excel program by simply typing excel in Start -> Run and similarly Microsoft Word through winword.

Coming straight to the answer without waisting any more time here is the solution -