Command prompt doesn't work

By da_head ยท 8 replies
Apr 28, 2006
  1. Hey guys, i have a major problem. when i go to run and type in cmd (or command or command prompt), i get an error message saying
    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.

    Even though i press ignore, it still closes and a few months ago the command prompt worked fine. I can't think of any software installation that might have changed this and no hardware changes have been made. I'm currently running a Windows XP pro. If you guys need any other information, please ask. thank you
  2. Nodsu

    Nodsu TS Rookie Posts: 5,837   +6

    Your autoexec.nt file has become corrupt (probably some (anti)spyware or (anti)virus). Copy a clean version from the Windows CD or another computer.
  3. da_head

    da_head TS Enthusiast Topic Starter Posts: 70

    wait r u saying to get a whole new windows or just get a new file (the one that is corrupted). and if ur saying the second one, how would i do dat exactly?
  4. Peddant

    Peddant TS Rookie Posts: 1,446

    Here`s the deal HERE
  5. da_head

    da_head TS Enthusiast Topic Starter Posts: 70

    wow thx i tried ur suggestion and it works! the weird thing though is when i type cmd it doesn't work, but when i type command or command prompt it works. aren't they the same thing?
  6. Peddant

    Peddant TS Rookie Posts: 1,446

    Here`s something I just made up :) -

    "Windows NT AND XP comes with two "command line shells" -- one called CMD.EXE and the other called COMMAND.COM. If you're wondering which one to use, following information might help:

    CMD.EXE is the Windows NT's native command prompt (or shell), which means it is more portable among different hardware platforms. For example, if you type SET and press ENTER inside a CMD.EXE prompt, you'll notice that CMD.EXE exposes more environment variables than COMMAND.COM. On the other hand, COMMAND.COM is the more "MS-DOS compatible" version of the two shells. For example, this shell will call AUTOEXEC.NT and CONFIG.NT (located in the SYSTEM32 directory inside your Windows NT directory) just like MS-DOS used to call AUTOEXEC.BAT and CONFIG.SYS.

    So, if you're having trouble running your old DOS command line programs from Windows NT, try running them inside a COMMAND.COM shell, not CMD.EXE."
  7. da_head

    da_head TS Enthusiast Topic Starter Posts: 70

    k thx for da suggestions. but i have xp not nt :p
  8. Peddant

    Peddant TS Rookie Posts: 1,446

    I think you need to read the first line again :)
  9. da_head

    da_head TS Enthusiast Topic Starter Posts: 70

    rofl my bad sry.
Topic Status:
Not open for further replies.

Similar Topics

Add your comment to this article

You need to be a member to leave a comment. Join thousands of tech enthusiasts and participate.
TechSpot Account You may also...