Jump to content


 


Register a free account to unlock additional features at BleepingComputer.com
Welcome to BleepingComputer, a free community where people like yourself come together to discuss and learn how to use their computers. Using the site is easy and fun. As a guest, you can browse and view the various discussions in the forums, but can not create a new topic or reply to an existing one unless you are logged in. Other benefits of registering an account are subscribing to topics and forums, creating a blog, and having no ads shown anywhere on the site.


Click here to Register a free account now! or read our Welcome Guide to learn how to use this site.

Photo

Cannot open cmd.exe


  • Please log in to reply
18 replies to this topic

#1 yongt

yongt

  • Members
  • 14 posts
  • OFFLINE
  •  
  • Local time:07:36 AM

Posted 24 April 2017 - 09:13 AM

I cant open cmd.exe from start menu and i checked the cmd.exe in the file location. I right click for properties and whenever I click ok or other tabs, it show the address specified in the Target box is not valid. I have no idea about what I did to make this happened. Anyone know possible solutions for this problem?

Attached Files



BC AdBot (Login to Remove)

 


#2 JohnC_21

JohnC_21

  • Members
  • 24,829 posts
  • OFFLINE
  •  
  • Gender:Male
  • Local time:06:36 PM

Posted 24 April 2017 - 09:38 AM

Does cmd start when you double click in System32?



#3 SpartyMom

SpartyMom

  • Members
  • 2 posts
  • OFFLINE
  •  
  • Local time:07:36 PM

Posted 24 April 2017 - 12:29 PM

https://www.howtogeek.com/235101/10-ways-to-open-the-command-prompt-in-windows-10/

http://www.tomshardware.com/forum/id-3067381/open-command-prompt-admin.html

 



#4 yongt

yongt
  • Topic Starter

  • Members
  • 14 posts
  • OFFLINE
  •  
  • Local time:07:36 AM

Posted 24 April 2017 - 07:23 PM

I did not found cmd.exe in System32 and that why I cant open it. Anyone know how to get back the cmd.exe?



#5 zainmax

zainmax

  • Banned
  • 344 posts
  • OFFLINE
  •  
  • Gender:Male
  • Local time:02:36 AM

Posted 24 April 2017 - 09:04 PM

cmd.exe is a small independent gadget, and you could put it back there, but before would be useful to know, why it is not there, why or how is possible, that it just disappeared to somewhere?

You can get it from any of the same version Windows, it is the same everywhere.



#6 medab1

medab1

  • Members
  • 854 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:earth
  • Local time:06:36 PM

Posted 24 April 2017 - 09:11 PM

cmd.exe--- system 32---

 

screenshot_396.jpg

 

screenshot_396.jpg


Edited by medab1, 24 April 2017 - 09:13 PM.

Learn to take screenshots & add them to your posts. :thumbup2:

https://www.bleepingcomputer.com/forums/t/43088/how-to-capture-and-edit-a-screen-shot/#entry4532851

Learn to use Google Search.  :busy:

Make full system images to restore to if your computer goes bonkers.


#7 yongt

yongt
  • Topic Starter

  • Members
  • 14 posts
  • OFFLINE
  •  
  • Local time:07:36 AM

Posted 24 April 2017 - 09:36 PM

zainmax

I not sure about that. Maybe mistakenly deleted it when I remove virus and malware?

This is my only computer with Windows 10. Can I get that from Windows xp/7/8?

 

medab1

below is the result of searching cmd in System32. I did not see the cmd.exe in the folder.

Attached Files



#8 bwv848

bwv848

    Bleepin' Owl


  • BSOD Kernel Dump Expert
  • 3,029 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:92.96 million miles away from the sun
  • Local time:06:36 PM

Posted 24 April 2017 - 09:44 PM

cmd.exe should be located in the %SystemRoot%\System32 folder. Let's run the System File Checker to repair it:

 

:step1: System File Checker

  • Click Start, enter powershell.exe in the Search box, right-click on powershell.exe, and then click Run as administrator.
  • Type the following command and hit ENTER:
sfc /SCANNOW
  • After the scan is finished, you will see one of three things:
Windows Resource Protection did not find any integrity violations.
Windows Resource Protection found corrupt files and successfully repaired them. Details are included in the CBS.Log %WinDir%\Logs\CBS\CBS.log.
Windows Resource Protection found corrupt files but was unable to fix some of them. Details are included in the CBS.Log %WinDir%\Logs\CBS\CBS.log.
  • If you see either of the two latter messages, please immediately enter the following command:
findstr /c:"[SR]" %windir%\Logs\CBS\CBS.log >"%userprofile%\Desktop\sfcdetails.txt"
  • Then, attach sfcdetails.txt, which is found on your Desktop, in your next reply.

Edited by bwv848, 24 April 2017 - 09:45 PM.

If I do not reply in three days, please message me.
 
BC BSOD Posting Instructions | Carrona BSOD Index | Driver Reference Table (DRT)


#9 yongt

yongt
  • Topic Starter

  • Members
  • 14 posts
  • OFFLINE
  •  
  • Local time:07:36 AM

Posted 24 April 2017 - 10:24 PM

bwv848

i faced some problem to finish the last step

Attached Files



#10 zainmax

zainmax

  • Banned
  • 344 posts
  • OFFLINE
  •  
  • Gender:Male
  • Local time:02:36 AM

Posted 24 April 2017 - 10:58 PM

As I see it, you still have many problems, and I can tell you that it is the latest time to make a new clean installation preserving their personal files.
You may soon be too late to do this.
I suggest warmly this be done, because you can not resolve these files anyway, in spite to all recommendations, what you will get certainly very much.


#11 FreeBooter

FreeBooter

  • Members
  • 3,137 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Turkey - Adana
  • Local time:02:36 AM

Posted 24 April 2017 - 11:29 PM

Please execute findstr command from Command Prompt.


Posted Image


#12 yongt

yongt
  • Topic Starter

  • Members
  • 14 posts
  • OFFLINE
  •  
  • Local time:07:36 AM

Posted 24 April 2017 - 11:32 PM

FreeBooter

It showed me:  FINDSTR: Bad command line



#13 yongt

yongt
  • Topic Starter

  • Members
  • 14 posts
  • OFFLINE
  •  
  • Local time:07:36 AM

Posted 24 April 2017 - 11:35 PM

zainmax

Can I know from where you noticed that still have many problems?



#14 yongt

yongt
  • Topic Starter

  • Members
  • 14 posts
  • OFFLINE
  •  
  • Local time:07:36 AM

Posted 25 April 2017 - 12:07 AM

FreeBooter  bwv848

Sorry for misunderstanding, here is the sfcdetails

Is there still have any problems to be solved?

Attached Files



#15 FreeBooter

FreeBooter

  • Members
  • 3,137 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Turkey - Adana
  • Local time:02:36 AM

Posted 25 April 2017 - 06:04 AM

Restart your computer and issue should be resolved.


Posted Image





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users