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

cmd.com suddenly not working


  • Please log in to reply
18 replies to this topic

#1 kawai54

kawai54

  • Members
  • 9 posts
  • OFFLINE
  •  
  • Gender:Female
  • Local time:12:15 AM

Posted 27 October 2017 - 04:21 PM

I depend upon cmd.com on an almost daily basis to run command-line utilities. But suddenly, out of the blue, I only get a blank, unresponsive DOS window. Have to then force an exit.

Im running Windows XP at home. Kaspersky says Im virus-free.

Need to resolve this asap. Help!

BC AdBot (Login to Remove)

 


m

#2 kawai54

kawai54
  • Topic Starter

  • Members
  • 9 posts
  • OFFLINE
  •  
  • Gender:Female
  • Local time:12:15 AM

Posted 27 October 2017 - 04:24 PM

(Darn new phone. Those shouldve been Im, not Im.)

Edited by kawai54, 27 October 2017 - 04:25 PM.


#3 Chris Cosgrove

Chris Cosgrove

  • Moderator
  • 5,596 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Scotland
  • Local time:07:15 AM

Posted 27 October 2017 - 05:23 PM

I think you will find it is 'command.exe' or 'cmd.exe', definitely not 'com'.

 

If you are using Search then typing in any of these will find it -  'cmd'; 'cmd.exe' or 'command.exe' (all without the ' '). You will also find it in 'Start - All programs - Accessories'

 

Chris Cosgrove



#4 kawai54

kawai54
  • Topic Starter

  • Members
  • 9 posts
  • OFFLINE
  •  
  • Gender:Female
  • Local time:12:15 AM

Posted 27 October 2017 - 05:44 PM

Thanks, Chris, I simply typed it in wrong in this post. But thats not the problem.

I have several command-line utilities I use on a regular basis. Suddenly, they bring up an unresponsive DOS window. *None* of them work.

I am not typing in cmd.com or exe or anything. Im launching a utility that uses it, and has worked fine until yesterday.

Thanks!

#5 opera

opera

  • Members
  • 759 posts
  • OFFLINE
  •  
  • Gender:Not Telling
  • Local time:07:15 AM

Posted 28 October 2017 - 01:32 AM

What happens if you type in cmd in the windows run box without using your utility?



#6 kawai54

kawai54
  • Topic Starter

  • Members
  • 9 posts
  • OFFLINE
  •  
  • Gender:Female
  • Local time:12:15 AM

Posted 28 October 2017 - 01:43 AM

Same thing. An unresponsive DOS window. Entering command is the same. :-(

#7 JohnC_21

JohnC_21

  • Members
  • 20,537 posts
  • OFFLINE
  •  
  • Gender:Male
  • Local time:02:15 AM

Posted 28 October 2017 - 08:37 AM

If you doubleclick cmd.exe in Windows/System32 the same thing happens? If you right click the cmd.exe file in XP how many bytes is the file?

 

XP has command.com but cannot use long file names. Type command in the Run box. Does that open?



#8 kawai54

kawai54
  • Topic Starter

  • Members
  • 9 posts
  • OFFLINE
  •  
  • Gender:Female
  • Local time:12:15 AM

Posted 28 October 2017 - 03:19 PM

Yes, John, I went to the System32 folder yesterday and tried double-clicking both cmd and command. Blank DOS windows. (Had previously tried both in the equivalent of a Run box and same thing happened.)

 

Sizewise, cmd.exe is 389,120 and command.com is 50,620. I'm running Windows XP, Professional Version 2002, Service Pack 3.

 

UPDATE:
I ran an entire system defrag overnight, and now they seem to be working again. We'll see if it lasts!

Thanks to everyone who responded.  :-)



#9 JohnC_21

JohnC_21

  • Members
  • 20,537 posts
  • OFFLINE
  •  
  • Gender:Male
  • Local time:02:15 AM

Posted 28 October 2017 - 04:04 PM

I will check those sizes against my XP SP3. If they are different I can upload to dropbox and give you a link.

 

Both my cmd.exe and command.com files are identical in size. If you wish me to upload to dropbox I can still do it.

 

After the defrag start XP in safe mode. There will be an Administrator account available. Login to it and see if cmd.exe still freezes.


Edited by JohnC_21, 28 October 2017 - 04:08 PM.


#10 kawai54

kawai54
  • Topic Starter

  • Members
  • 9 posts
  • OFFLINE
  •  
  • Gender:Female
  • Local time:12:15 AM

Posted 30 October 2017 - 05:17 PM

Hi, John, sorry for the delay. I wanted to wait a couple of days to see what happened.

 

Both cmd and command were restored and working fine, that is until this afternoon. The long delays started again.

 

I did what you said, and both worked perfectly in safe mode.

 

I've rebooted into normal mode again, and everything is still fine. But I don't trust it to stay that way.

 

I really need some live tech support. My system is old and starting to fail. Wish I knew of someone here local!



#11 JohnC_21

JohnC_21

  • Members
  • 20,537 posts
  • OFFLINE
  •  
  • Gender:Male
  • Local time:02:15 AM

Posted 30 October 2017 - 05:29 PM

Being an intermittent problem makes it hard to diagnose. Possibly looking at the Event Viewer logs would help. I was wondering if creating a new user account and using that for awhile would give you the same problem. 



#12 kawai54

kawai54
  • Topic Starter

  • Members
  • 9 posts
  • OFFLINE
  •  
  • Gender:Female
  • Local time:12:15 AM

Posted 30 October 2017 - 05:48 PM

John, where can I find the Event Viewer logs? What do I look for?



#13 JohnC_21

JohnC_21

  • Members
  • 20,537 posts
  • OFFLINE
  •  
  • Gender:Male
  • Local time:02:15 AM

Posted 30 October 2017 - 05:57 PM

Right click My Computer > Manage > Event Viewer > Windows logs > System      

 

Look for any errors.



#14 kawai54

kawai54
  • Topic Starter

  • Members
  • 9 posts
  • OFFLINE
  •  
  • Gender:Female
  • Local time:12:15 AM

Posted 30 October 2017 - 06:03 PM

My menu went straight from Event Viewer > System but I'm sure it's the same....

 

A ton of errors this month with the Service Control Manager (not familiar with that name).

 

Also a smaller number of errors in the Application category.

 

Does that tell you anything?



#15 JohnC_21

JohnC_21

  • Members
  • 20,537 posts
  • OFFLINE
  •  
  • Gender:Male
  • Local time:02:15 AM

Posted 30 October 2017 - 06:18 PM

If you double click the error it will provide more detail of the error.

 

Edit: What is the Event ID number? You can copy and paste the detail log.


Edited by JohnC_21, 30 October 2017 - 06:23 PM.





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users