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.


windows cannot open this file: command.com

  • Please log in to reply
2 replies to this topic

#1 bing bong

bing bong

  • Members
  • 1 posts
  • Local time:07:49 AM

Posted 20 October 2008 - 02:52 PM

After running 'Anti-malware' I restarted my PC and got the wallpaper screen, but no icons, no toolbar and a window that pops up saying:

"windows cannot open this file: command.com
windows needs to know what program created it......" etc.

I have opened it with notepad but am not savvy enough to understand the contents, this is how it begins (there is much more)

 %1 device %2
&Please insert volume %1 serial %2-%3
%File allocation table bad, drive %1
!Insert disk with %1 in drive %2
!Press any key to continue . . .

Terminate batch job (Y/N)?Cannot execute %1
Error in EXE file
"Program too big to fit in memory

No free file handlesBad Command or file name
Access denied 
Memory allocation error&
Cannot load COMMAND, system halted
Cannot start COMMAND, exiting
Top level process aborted, cannot continue

I tried many of the tips suggested online for the problem of 'no toolbar, no icons' using the Task Manager, including a system restore, but when I restarted, I got back to the same old command.com window.

Can anyone help me!?

ps I apologise if this topic has already been covered - if so could you please direct me to the posting?

BC AdBot (Login to Remove)


#2 garmanma


    Computer Masochist

  • Members
  • 27,809 posts
  • Gender:Male
  • Location:Cleveland, Ohio
  • Local time:10:49 AM

Posted 20 October 2008 - 05:36 PM

This is for XP, correct?
It says command.com not cmd.exe?
If yes to both questions, I would think that you are still infected.
Can you boot into safemode?

Edited by garmanma, 20 October 2008 - 05:37 PM.

Posted Image
why won't my laptop work?

Having grandkids is God's way of giving you a 2nd chance because you were too busy working your butt off the 1st time around
Do not send me PMs with problems that should be posted in the forums. Keep it in the forums, so everyone benefits
Become a BleepingComputer fan: Facebook and Twitter

#3 usasma


    Still visually handicapped (avatar is memory developed by my Dad

  • BSOD Kernel Dump Expert
  • 25,091 posts
  • Gender:Male
  • Location:Southeastern CT, USA
  • Local time:10:49 AM

Posted 23 October 2008 - 10:15 AM

command.com is the old "DOS Prompt" and it's present both in XP and Vista ofr backwards compatibility with older applications (on my XP system it's located in C:\Windows\System32). As it's not well-known or used very often, it's a convenient way for the malware to attempt to take over your system.

The text that you've gotten from the file seems to be the sequence where the program decides what to do when it fails.
My concern would be with what's trying to open this file - as it shouldn't be opened unless you've got some very old programs on the computer (from back in the Windows 98 or earlier days).

As garmanma suggests, you're probably still infected. You can get further assistance with that in the Am I Infected forum located here: http://www.bleepingcomputer.com/forums/f/103/am-i-infected-what-do-i-do/
My browser caused a flood of traffic, sio my IP address was banned. Hope to fix it soon. Will get back to posting as soon as Im able.

- John  (my website: http://www.carrona.org/ )**If you need a more detailed explanation, please ask for it. I have the Knack. **  If I haven't replied in 48 hours, please send me a message. My eye problems have recently increased and I'm having difficult reading posts. (23 Nov 2017)FYI - I am completely blind in the right eye and ~30% blind in the left eye.<p>If the eye problems get worse suddenly, I may not be able to respond.If that's the case and help is needed, please PM a staff member for assistance.

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users