"Bad or Missing Command Interpreter" Error Message
General Troubleshooting steps. Always do this first!
Due to vibrations during shipping, the connections of the cables and cards can loosen. If a cable comes even partly off, or a card pops even slightly out of its slot, you will have problems with your computer.
Some of the steps in this document may require that the cover from the system be removed, so please keep in mind that you need to take precautions against static electricity when working inside the computer.
If you just received your machine, follow these preliminary steps:
- Take the cover off the computer. (Note the static electricity precautions mentioned below.)
- Carefully push on all expansion cards to make sure they are properly seated in their slots.
- Carefully push on the cable connectors to make sure they are firmly in place.
Refer to Chapter 1 of your Gateway 2000 System Users Guide for details.
Keep a log
- If you have a recurring problem, keep a log of what happened, when it happened, and what you were doing when it happened.
Fixing a bad or missing command interpreter
- Any of several things could cause this error message. Try these suggestions in order until you find the one that solves the problem.
Non-bootable diskette in drive A:
Check your floppy drives to make sure you do not have a diskette installed in drive A. If there is, remove the diskette and reboot.
To correct a problem in the CMOS setup program:
Enter your computer's CMOS SETUP program:
- If your machine has Phoenix BIOS, press Ctrl+Alt+Esc. If nothing happens follow these steps:
- Use your key to lock the keyboard.
- Press the Reset button on the front of the computer. The a message appears asking you to unlock the keyboard
- Unlock the keyboard and press F2 to run the CMOS setup.
- If you have a mini desktop computer, press Ctrl+Alt+S. This brings up the CMOS setup of the machine.
- If you have an EISA machine, press the Reset button on the front of the computer, then press Ctrl+Alt+Esc immediately when the memory count begins,
- If your computer has an AMI BIOS, press the Reset button on the front of the computer. Watch the screen. After the memory count is complete, press Delete when prompted. After a few moments a menu appears on the screen. Move the highlight bar to RUN CMOS SETUP and press Enter. If you are prompted to choose Standard or Extended setup, choose Standard.
When you see the setup screen, look at the Hard Drive type. Make sure the Head, Cylinder, and Sector information matches the information for your hard drive.
If you have an IDE hard drive, follow the hard drive parameter table. This shows cylinders, head, and sector information for Gateway 2000 IDE hard drives. The fields in the setup program may not be in the same order as in this table.
If you have a SCSI hard drive, make sure the hard drive type states NOT INSTALLED.
Hard Drive Parameter Table | ||||||
---|---|---|---|---|---|---|
Drive | SIZE | Cyl | Head | Sectors | LZ | Write Pre comp |
Caviar 140 | 40Mb | 980 | 5 | 17 | 0 | None |
Caviar 280 | 80Mb | 980 | 10 | 17 | 0 | None |
Caviar 2120 | 120Mb | 872 | 8 | 35 | 0 | None |
Caviar 2170 | 170Mb | 1010 | 6 | 55 | 0 | None |
Caviar 2200 | 200Mb | 989 | 12 | 35 | 0 | None |
Caviar 2255 | 250Mb | 1010 | 9 | 55 | 0 | None |
Caviar 2340 | 340Mb | 1010 | 12 | 55 | 0 | None |
Piranha 4200 | 200Mb | 987 | 12 | 35 | 0 | None |
Maxtor LXT200A | 200Mb | 816 | 15 | 32 | 0 | None |
Maxtor LXT340A | 340Mb | 654 | 16 | 63 | 0 | None |
Seagate ST1144A | 120Mb | 1001 | 15 | 17 | 0 | None |
- Use the arrow keys to change the values in the hard drive fields until they match the drive installed in your system. If your system has the option "Autoconfig," choose that option. Brief directions are along the bottom of the screen; detailed directions are in the chapter about hard disk drives in your User's Guide. If you find a choice labeled "Autoconfig," choose that.
- Exit the setup program by pressing Esc or following the menu directions.
To correct a problem with COMMAND.COM:
- Insert disk #1 of your MS-DOS diskettes into drive A.
- Press the Reset button on the front of your computer. The computer boots from the floppy, and the MS-DOS setup program loads.
- Exit Setup:
- If you are using MS-DOS 5.0, press F3 at the Welcome to Setup screen. Press Y when asked if you want to exit to DOS.
- If you are using MS-DOS 4.0 or 4.01, press Esc when prompted to insert the select diskette.
- If you are using MS-DOS 3.3 or earlier, there is no setup program; the computer boots to the A> prompt.
- Change to drive C. Type:
c:
and press Enter.- At the C:\> prompt type:
dir command.com
and press Enter.- If the message FILE NOT FOUND appears, copy COMMAND.COM onto drive C. Type:
copy a:\command.com
and press Enter.- Remove the diskette from the drive and reboot.
To correct a problem in the CONFIG.SYS file:
If you have a shell command in you CONFIG.SYS file that inaccurately identifies the location of COMMAND.COM, you can get the bad or missing command interpreter error message.
- Insert disk #1 of your MS-DOS diskettes into drive A.
- Press the Reset button on the front of your computer. The computer boots from the floppy, and the MS-DOS setup program loads.
- Exit Setup:
- If you are using MS-DOS 5.0, press F3 at the Welcome to Setup screen. Press Y when asked if you want to exit to DOS.
- If you are using MS-DOS 4.0 or 4.01, press Esc when prompted to insert the select diskette.
- If you are using MS-DOS 3.3 or earlier, there is no setup program; the computer boots to the A:\> prompt.
- Change to drive C. Type:
c:
and press Enter.- View the CONFIG.SYS file by typing:
type config.sys
and press Enter. (If the CONFIG.SYS file does not exist, skip ahead to step12.) The CONFIG.SYS file appears on the screen.- See if you have a line that begins with "shell." The line looks like this:
SHELL=C:\DOS\COMMAND.COM /P /E:256
- If the shell line exists, note which directory it is looking for COMMAND.COM in. In the example above, COMMAND.COM is in the DOS directory.
- Change to the directory the shell is pointing to. For example, type:
cd\dos
and press Enter.- Type:
dir command.com
and press Enter.- IF you get a FILE NOT FOUND error, type:
copy a:\command.com
and press Enter.- Remove the floppy from the drive and reboot.
- (Follow this step ONLY if you were sent here by step 5 because CONFIG.SYS is not on your hard disk.)
Type:
copy a:\config.sys
and press Enter. (You can find more information about missing files in document 1093.) Now go back to step 6.
To correct a problem in the AUTOEXEC.BAT file:
An inaccurate comspec line in your AUTOEXEC.BAT file can cause the bad or missing command interpreter message.
- Insert disk #1 of your MS-DOS diskettes into drive A.
- Press the Reset button on the front of your computer. The computer boots from the floppy, and the MS-DOS setup program loads.
- Exit Setup:
- If you are using MS-DOS 5.0, press F3 at the Welcome to Setup screen. Press Y when asked if you want to exit to DOS.
- If you are using MS-DOS 4.0 or 4.01, press Esc when prompted to insert the select diskette.
- If you are using MS-DOS 3.3 or earlier, there is no setup program; the computer boots to the A:\> prompt.
- Change to drive C. Type:
c:
and press Enter.- View the AUTOEXEC.BAT file by typing:
type autoexec.bat
and press Enter.- See if there is a SET COMSPEC line in your AUTOEXEC.BAT file. This is what the SET COMSPEC line normally looks like:
SET COMSPEC=C:\DOS\COMMAND.COM
If the comspec line exists, note which directory it is looking for COMMAND.COM in. In the example above, COMMAND.COM is in the DOS directory.- Change to the directory the set comspec line is pointing to. For example, type:
cd\dos
and press Enter.- Type:
dir command.com
and press Enter.- IF you get a FILE NOT FOUND error, type
copy a:\command.com
and press Enter.- Remove the floppy from the drive and reboot.
To correct corrupt invisible system files:
- If neither the SHELL line nor SET COMSPEC line is present, Change back to drive A.
- At the A:\> prompt type
c:\dos\sys\ c:
and press Enter. This command instructs the computer to transfer the invisible files IO.SYS and MSDOS.SYS files to the hard drive.- When the computer responds with SYSTEM TRANSFERRED, remove the disk from the drive.
- Reboot the computer.
The information in these articles is provided "as-is" without warranty of any kind, and all warranties are hereby disclaimed, whether express or implied, including, without limitation, the implied warranties of merchantability, fitness for a particular purpose and non-infringement. Gateway 2000 will not be liable for any damages whatsoever, whether direct, special, indirect, incidental, or consequential (including, without limitation, damages for loss of business profits, business interruption, loss of business information, or any other pecuniary loss) arising out of, or related to your use of, or inability to use the information in any such article, even if advised of the possibility of such damages. Because some states and jurisdictions do not allow the exclusion or limitation of liability for consequential or incidental damages, the above limitation may not apply to you. You may not further distribute, reproduce, rent, sell, transfer or license these articles.
If our documentation hasn't helped you,
this might be a good time to send
an e-mail to Technical Support.
Copyright © 1996 Gateway 2000 Inc. All rights reserved.
Please see our Legal Information. Please send feedback to Webmaster Central.