Command Prompt does show up on Window XP


From my Window/XP   start->accessories->Command Prompt , I can start a command prompt, even though the icon seem to be there (changed to a DOS application icon). Plus,  a embedded command:
start /wait /b xcopy ..\\..\\*.*  C:\\TEMP_and_BACKUP\\ /c /d /s /e /k /y /z /i

in a DOS executable seems get ignored, while executable seems running fine.

Also from start  RUN/cmd the command prompt can get started either.

I remember it was working before .. anyone tell me why it failed  and provide a solution

Thanks

LVL 1
zzhang2006ProfessorAsked:
Who is Participating?
 
zzhang2006Connect With a Mentor ProfessorAuthor Commented:
Billrew,  
In fact I can find cmd.exe in   Windows/System32/    where can I get it?



0
 
Bill PrewCommented:
In the first line of your posting:

From my Window/XP   start->accessories->Command Prompt , I can start a command prompt

did you really mean to type:

From my Window/XP   start->accessories->Command Prompt , I can't start a command prompt

~bp
0
 
Bill PrewCommented:
Does the following file exist?

C:\Windows\System32\cmd.exe

~bp
0
Cloud Class® Course: CompTIA Healthcare IT Tech

This course will help prep you to earn the CompTIA Healthcare IT Technician certification showing that you have the knowledge and skills needed to succeed in installing, managing, and troubleshooting IT systems in medical and clinical settings.

 
Matt DaviesCommented:
If I read into this that you cannot start a command prompt by any route and do not get any message when you try to run it then you need to virus check your pC.

There are a couple of virii that disable the command prompt
0
 
zzhang2006ProfessorAuthor Commented:
Sorry,  I mean I can not start the command prompt
0
 
QlemoBatchelor, Developer and EE Topic AdvisorCommented:
Try if running a   sfc /scannow   helps to get it back.
0
 
Bill PrewCommented:
If you can't find c:\windows\system32\cmd.exe that is troubling.  Try SFC as mentioned above and see what that has to say.

Also, are you on a 64 or 32 bit version of Windows?

When did this problem begin, was it right after you loaded some other software?  I'd be concerned that something else unwanted may be going on on your system.

Have you run some virus and malware scans?

~bp
0
 
BillDLConnect With a Mentor Commented:
Open the following folder in Windows Explorer:

C:\Windows\System32\dllcache

If CMD.EXE is in there, then something is badly wrong because deleting or moving C:\Windows\System32\cmd.exe SHOULD have caused it to be replaced in that folder by a good backup copy from the "dllcache" folder.  There should be something like 2600 files in that DllCache folder.

Try running SFC as suggested above and let us know what happens.
0
 
pony10usCommented:
It appears that "Command Prompt" properties have been changed to do a complete backup of the C: drive to a folder C:\\TEMP_and_BACKUP.

The target should be %SystemRoot%\system32\cmd.exe.

A quick way to test if CMD is there is to do a Start/Run, type cmd in the window and press enter. It should open a command prompt window. If not then you should follow the instructions given by others.

The issue I see with billprew's test is that even though it is extremely rare, I have seen variations on installations resulting in some odd file structures such as C:\WINNT instead of C:\WINDOWS.

I am still a bit concerned that it is trying to do a complete backup of the C: drive using xcopy to a folder on the C: drive everytime.
0
 
Kirthy2010Commented:
Check wether the cmd file exit on your PC ?
C:\Windows\System32\cmd.exe

Create a shortcut and give the target location as %windir%\system32\cmd.exe or cmd.exe

If still not running check the compatablity option of the shortcut created.
0
 
zzhang2006ProfessorAuthor Commented:
problem solved
0
 
Bill PrewCommented:
I for one would like to understand how the problem was resolved...

~bp
0
 
pony10usCommented:
I agree with billprew.  What was the solution?
0
 
zzhang2006ProfessorAuthor Commented:
problem sovled thanks
0
 
Bill PrewCommented:
Yes, we got that you solved the problem, we are just trying to learn from your work, please share what the solution to your problem was.

~bp
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.