?
Solved

Command Prompt does show up on Window XP

Posted on 2010-11-27
15
Medium Priority
?
460 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 5
  • 4
  • 2
  • +4
15 Comments
 
LVL 57

Expert Comment

by:Bill Prew
ID: 34223208
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 57

Expert Comment

by:Bill Prew
ID: 34223217
Does the following file exist?

C:\Windows\System32\cmd.exe

~bp
0
 
LVL 5

Expert Comment

by:Matt Davies
ID: 34223400
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
VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

 
LVL 1

Author Comment

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

Accepted Solution

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



0
 
LVL 70

Expert Comment

by:Qlemo
ID: 34223589
Try if running a   sfc /scannow   helps to get it back.
0
 
LVL 57

Expert Comment

by:Bill Prew
ID: 34223670
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
 
LVL 38

Assisted Solution

by:BillDL
BillDL earned 500 total points
ID: 34223890
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
ID: 34233981
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
ID: 34237894
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
ID: 34259511
problem solved
0
 
LVL 57

Expert Comment

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

~bp
0
 
LVL 26

Expert Comment

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

Author Closing Comment

by:zzhang2006
ID: 34289861
problem sovled thanks
0
 
LVL 57

Expert Comment

by:Bill Prew
ID: 34291080
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

Enroll in August's Course of the Month

August's CompTIA IT Fundamentals course includes 19 hours of basic computer principle modules and prepares you for the certification exam. It's free for Premium Members, Team Accounts, and Qualified Experts!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

An Outlet in Cocoa is a persistent reference to a GUI control; it connects a property (a variable) to a control.  For example, it is common to create an Outlet for the text field GUI control and change the text that appears in this field via that Ou…
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 how to use strings and some functions related to them in the C programming language.
The goal of this video is to provide viewers with basic examples to understand and use switch statements in the C programming language.

765 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