Command prompt not working

G

Guest

I'm running XP Home and for a while now i have been unable to use the command
prompt. When i type 'cmd' or 'command' into the run box it just opens a blank
box and does nothing. can anyone help?
 
G

Guest

If you are using "run" you need to type "cmd.exe" or you can go to "Start>All
Programs>Accessories>Command Prompt".
 
M

Malke

Nemisis said:
I'm running XP Home and for a while now i have been unable to use the
command prompt. When i type 'cmd' or 'command' into the run box it
just opens a blank box and does nothing. can anyone help?

What is the virus/malware status of this computer? If you think it is
clean, what did you use to determine this? Please include the name and
version of your antivirus, as well as whether your subscription is
active and the definitions are updated.

Malke
 
W

Wesley Vogel

The environmental variable Pathext shows a list of file extensions that are
considered to be executable and regulates which extensions do not need to be
typed in a Command or Run window.

If Pathext is all right and you do not have any malware, you do not need to
type cmd.exe. Typing cmd is good enough.

PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH

If you have more than one cmd file, XP searches for the extension in the
order listed above. So if you have a file named cmd.com (malware), cmd.com
will try to open before cmd.exe, if no extension is typed.

--
Hope this helps. Let us know.

Wes
MS-MVP Windows Shell/User

In
 
T

Trax

|>Wesley, Thanks for the lesson.You're right.Learn something new every day.

There's also a hierarchy involved. There was some malware recently
that installed regedit.com - if you type'd in regedit you got the
malware, if you type'd in regedit.exe you got the right program.


|>"Wesley Vogel" wrote:
|>
|>> The environmental variable Pathext shows a list of file extensions that are
|>> considered to be executable and regulates which extensions do not need to be
|>> typed in a Command or Run window.
|>>
|>> If Pathext is all right and you do not have any malware, you do not need to
|>> type cmd.exe. Typing cmd is good enough.
|>>
|>> PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH
|>>
|>> If you have more than one cmd file, XP searches for the extension in the
|>> order listed above. So if you have a file named cmd.com (malware), cmd.com
|>> will try to open before cmd.exe, if no extension is typed.
|>>
|>> --
|>> Hope this helps. Let us know.
|>>
|>> Wes
|>> MS-MVP Windows Shell/User
|>>
|>> In |>> Mike E <[email protected]> hunted and pecked:
|>> > If you are using "run" you need to type "cmd.exe" or you can go to
|>> > "Start>All Programs>Accessories>Command Prompt".
|>> > --
|>> > Mike Ellis
|>> >
|>> >
|>> > "Nemisis" wrote:
|>> >
|>> >> I'm running XP Home and for a while now i have been unable to use the
|>> >> command prompt. When i type 'cmd' or 'command' into the run box it just
|>> >> opens a blank box and does nothing. can anyone help?
|>>
 
K

Ken Blake, MVP

Mike said:
If you are using "run" you need to type "cmd.exe"


No, the ".exe" isn't needed. Just "cmd" (or "coomand"), as he typed, should
work fine .

If cmd or command don't open a usable command window, I would suspect a
virus or other malware.
 

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