Go Back   TechArena Community > Software > Operating Systems
Become a Member!
Forgot your username/password?
Tags Active Topics RSS Search Mark Forums Read

Reply
 
Thread Tools Search this Thread
  #1  
Old 15-04-2009
Member
 
Join Date: Dec 2008
Posts: 177
Command Prompt won't work

hi,
i have windows xp install on computer.I've recently tried to work my command prompt and it will not work. the message comes "C:\WINDOWS\system32\command.com
C:\WINDOWS\SYSTEM32\AUTOEXEC.NT. The system file is not suitable for running MS-DOS and Microsoft Windows applicaitons. Choose 'Close' to terminate the application." I have no idea why but it just won't. When I use Run, and type 'cmd', and then come onto prompt, it doesn't work.
Reply With Quote
  #2  
Old 15-04-2009
Member
 
Join Date: Apr 2008
Posts: 3,518
Re: Command Prompt won't work

To resolve this issue, type the following commands at a command prompt to expand the Autoexec.nt , Command.com, and Config.nt files from the Windows 2000 or Windows Server 2003 installation CD-ROM to the Windows\System32 or Winnt\System32 folder.

Press ENTER after you type each command.

In the following commands,when you type these commands, replace

- ' cd-rom ' with the letter for your CD-ROM drive,
- ' drive_letter ' with the drive letter for your system partition,
- ' system_root ' with the name of your Windows 2000 or Windows Server 2003 folder (either Winnt or Windows)


After executing these commands, restart your computer:

expand cd-rom:\i386\config.nt_ drive_letter:\system_root\system32\config.nt

expand cd-rom:\i386\autoexec.nt_ drive_letter:\system_root\system32\autoexec.nt

expand cd-rom:\i386\command.co_ drive_letter:\system_root\system32\command.com
Reply With Quote
  #3  
Old 15-04-2009
Member
 
Join Date: Nov 2005
Posts: 3,023
Re: Command Prompt won't work

If you try to start or install an MS-DOS-based or a 16-bit Windows-based program on your Windows XP-based computer, you may receive above error message.
Reply With Quote
  #4  
Old 15-04-2009
Member
 
Join Date: May 2008
Posts: 4,080
Re: Command Prompt won't work

Click Start, Run, type cmd and press enter to open the MS-DOS window.
In the MS-DOS Window, type the below commands.

cd\windows\repair
copy autoexec.nt c:\windows\system32
copy config.nt c:\windows\system32

Once the above two files have been copied, type "exit" to exit the MS-DOS window.
Reply With Quote
  #5  
Old 10-04-2012
Member
 
Join Date: Apr 2012
Posts: 1
Re: Command Prompt won't work

hi all
i have windows server 2003 , in this i am unable to open command prompt, if i type CMD in Run it will open & close

please give some solution
Reply With Quote
  #6  
Old 12-04-2012
Member
 
Join Date: Jul 2011
Posts: 415
Re: Command Prompt won't work

It looks that either you are not logged in administrator account or your cmd is damaged. You can re-install cmd. The application is located in C:\windows\system32\cmd.exe. There are two ways to fix it. First by copying it from Windows disc or copying the same from another working system. If still that does not work then you have to run sfc /scannow command in the run box.
Reply With Quote
Reply

  TechArena Community > Software > Operating Systems
Tags: , , ,



Thread Tools Search this Thread
Search this Thread:

Advanced Search


Similar Threads for: "Command Prompt won't work"
Thread Thread Starter Forum Replies Last Post
Command prompt won?t work properly in windows 7 to enable admin account Champ!on Windows Software 3 19-05-2012 04:31 AM
Command Prompt does not open Custidio Operating Systems 3 31-10-2009 07:46 PM
Hide command prompt using C Jagdish Gada Software Development 2 17-08-2009 09:57 AM
about the command prompt Gorganzola Windows Software 2 17-10-2008 06:24 PM
Command prompt "COPY" command not working in brand new Windows Vis CMD COPY command not working in Vista Vista Help 7 06-02-2008 02:50 AM


All times are GMT +5.5. The time now is 12:58 PM.