• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 464
  • Last Modified:

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

0
zzhang2006
Asked:
zzhang2006
  • 5
  • 4
  • 2
  • +4
2 Solutions
 
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
 
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
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
zzhang2006Author Commented:
Sorry,  I mean I can not start the command prompt
0
 
zzhang2006Author Commented:
Billrew,  
In fact I can find cmd.exe in   Windows/System32/    where can I get it?



0
 
QlemoC++ DeveloperCommented:
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
 
BillDLCommented:
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
 
zzhang2006Author 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
 
zzhang2006Author 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

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

  • 5
  • 4
  • 2
  • +4
Tackle projects and never again get stuck behind a technical roadblock.
Join Now