help with cmd.exe

G

godeepakm

Hello all,

When i goto run and type in cmd or cmd.exe i get the following error
....
cmd/cmd.exe is not a valid Win32 application.
It was working earlier but some problem occured when in one of the
command window i tried to execute the following command "cmd > cmd"


Also when i enter the complete path i.e. C:\WINDOWS\system32\cmd.exe
everything works fine.

could anyone help out with this issue.

Thanks for your help.

Deepak
 
D

David Candy

You overwrote the file with garbage most likely (allthough you had to do a little more than what you said). Extract a new version. Type msconfig in Start Run, Extract File.
"cmd > cmd" Runs cmd and overwrites cmd with the screen output.
 
G

Guest

Right-click My Computer > Properties > Advanced > Environment Variables.

Make sure you have an entry called Path that contains
%SystemRoot%\system32;%SystemRoot%;.
 

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

Top