Troubleshooting > Other Operating System Messages > Messages From DOS > Can’t Find COMMAND.COMInvalid COMMAND.COMWrong COMMAND.COM version

Can’t Find COMMAND.COM
Invalid COMMAND.COM
Wrong COMMAND.COM version
Cause: Most likely the COMMAND.COM file is the wrong version for the current operating system booted. This will occur under several situations, as explained below.
Action: It is usually necessary to use your operating system boot CD/DVD or diskette at this point so the problem can be resolved.
The CONFIG.SYS file for this version of Windows 95/98/Me or DOS should have a SHELL statement that points to the COMMAND.COM for this version. If you are unfamiliar with the SHELL statement, this critical line in CONFIG.SYS instructs where COMMAND.COM resides. For example, in DOS 6, the default SHELL statement might appear as:
SHELL=C:\DOS\COMMAND.COM C:\DOS /P
Normally you would have created a unique subdirectory for each operating system, such as “MSDOS6.2”. In this case, the SHELL statement must be changed when booting “MS-DOS 6.2” to point to the directory where COMMAND.COM resides for MS-DOS version 6.2. This new SHELL line might appear as:
SHELL=C:\SC\MSDOS6.2\COMMAND.COM C:\MSDOS6.2 /P
You might have other options or use a different subdirectory instead of “MSDOS6.2” shown. In any case, the drive and path should always point to the subdirectory for COMMAND.COM related to the DOS version selected.
Also check if the AUTOEXEC.BAT file has a COMSPEC statement, which must also point to the COMMAND.COM for this version. You don’t need COMSPEC if the CONFIG.SYS file has a SHELL statement.
Verify that System Commander was properly set up to copy the unique version of COMMAND.COM into the root directory. Some programs ignore the path and assume COMMAND.COM is in the root directory.
To have System Commander automatically copy COMMAND.COM into the root directory, select Settings from the OS Selection Menu, and select the File management option. Verify the files and subdirectories are correct. The files to copy won’t be copied if the last boot was the same operating system. This means you might need to select another operating system in the FAT partition, and then reboot and select the desired operating system.
These error messages will also appear if the wrong version of COMMAND.COM resides in the unique subdirectory you made for the DOS having the problem. To correct this, copy the correct COMMAND.COM version for the selected DOS from the diskette into the unique subdirectory.
See Also:
Can’t Access drive C: Invalid Drive/Media Type
Incorrect DOS Version
Your Current Operating System on drive C is not DOS

Avanquest USA
Copyright (c)2001–2007 Avanquest Publishing USA, Inc.
All Rights Reserved.