Solved

Command Prompt does show up on Window XP

Posted on 2010-11-27
15
455 Views
Last Modified: 2012-05-10

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
Comment
Question by:zzhang2006
  • 5
  • 4
  • 2
  • +4
15 Comments
 
LVL 51

Expert Comment

by:Bill Prew
Comment Utility
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
 
LVL 51

Expert Comment

by:Bill Prew
Comment Utility
Does the following file exist?

C:\Windows\System32\cmd.exe

~bp
0
 
LVL 5

Expert Comment

by:Matt Davies
Comment Utility
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
 
LVL 1

Author Comment

by:zzhang2006
Comment Utility
Sorry,  I mean I can not start the command prompt
0
 
LVL 1

Accepted Solution

by:
zzhang2006 earned 0 total points
Comment Utility
Billrew,  
In fact I can find cmd.exe in   Windows/System32/    where can I get it?



0
 
LVL 68

Expert Comment

by:Qlemo
Comment Utility
Try if running a   sfc /scannow   helps to get it back.
0
 
LVL 51

Expert Comment

by:Bill Prew
Comment Utility
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
How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

 
LVL 38

Assisted Solution

by:Insignificant Volunteer
Insignificant Volunteer earned 125 total points
Comment Utility
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
 
LVL 26

Expert Comment

by:pony10us
Comment Utility
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
 
LVL 3

Expert Comment

by:Kirthy2010
Comment Utility
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
 
LVL 1

Author Comment

by:zzhang2006
Comment Utility
problem solved
0
 
LVL 51

Expert Comment

by:Bill Prew
Comment Utility
I for one would like to understand how the problem was resolved...

~bp
0
 
LVL 26

Expert Comment

by:pony10us
Comment Utility
I agree with billprew.  What was the solution?
0
 
LVL 1

Author Closing Comment

by:zzhang2006
Comment Utility
problem sovled thanks
0
 
LVL 51

Expert Comment

by:Bill Prew
Comment Utility
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

6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

Join & Write a Comment

Preface I don't like visual development tools that are supposed to write a program for me. Even if it is Xcode and I can use Interface Builder. Yes, it is a perfect tool and has helped me a lot, mainly, in the beginning, when my programs were small…
Introduction: Recently, I got a requirement to zip all files individually with batch file script in Windows OS. I don't know much about scripting, but I searched Google and found a lot of examples and websites to complete my task. Finally, I was ab…
The goal of this video is to provide viewers with basic examples to understand opening and writing to files in the C programming language.
The goal of this video is to provide viewers with basic examples to understand recursion in the C programming language.

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

6 Experts available now in Live!

Get 1:1 Help Now