Results 1 to 6 of 6

Thread: Command Prompt won't work

  1. #1
    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.

  2. #2
    Join Date
    Apr 2008
    Posts
    3,522

    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

  3. #3
    Join Date
    Nov 2005
    Posts
    3,026

    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.

  4. #4
    Join Date
    May 2008
    Posts
    4,085

    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.

  5. #5
    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

  6. #6
    Join Date
    Jul 2011
    Posts
    419

    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.

Similar Threads

  1. Replies: 3
    Last Post: 19-05-2012, 04:31 AM
  2. Command Prompt does not open
    By Custidio in forum Operating Systems
    Replies: 3
    Last Post: 31-10-2009, 07:46 PM
  3. Hide command prompt using C
    By Jagdish Gada in forum Software Development
    Replies: 2
    Last Post: 17-08-2009, 09:57 AM
  4. about the command prompt
    By Gorganzola in forum Windows Software
    Replies: 2
    Last Post: 17-10-2008, 06:24 PM
  5. Command prompt "COPY" command not working in brand new Windows Vis
    By CMD COPY command not working in Vista in forum Vista Help
    Replies: 7
    Last Post: 06-02-2008, 02:50 AM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,711,635,204.43126 seconds with 17 queries