You may receive the "Incorrect DOS Version" error if you execute an MS-DOS
command (MODE, for example) and your AUTOEXEC.BAT file has two PATH
statements similar to the following:
Recopying the MODE.COM file from your MS-DOS floppy disk to your DOS
subdirectory does not correct the error.
When your AUTOEXEC.BAT file is run, the path is set to C:\DOS (the DOS
subdirectory). When it executes the second path statement
(PATH=C:\P3;%PATH%), the path is reset to C:\P3 (the P3 subdirectory) and
the C:\DOS path is appended to this. When the AUTOEXEC.BAT file is finished
running, your path is set to C:\P3;C:\DOS, in this order.
When you issue a command (in this case, the MODE command) with the above
path set, MS-DOS searches the current directory. If the command isn't found
in the current directory, MS-DOS searches the P3 subdirectory. If the
command still isn't found, MS-DOS searches the MS-DOS subdirectory.
The "Incorrect DOS version" error occurs because there is a MODE command in
your P3 subdirectory. When the MODE command is issued, MS-DOS is finding
the MODE command in the P3 subdirectory rather than the MODE command in the
DOS subdirectory. To avoid this, you can do either of the following:
• Combine the two PATH statements so that one of them reads as follows
then delete the second PATH statement.
Change the second PATH statement to read as follows:
Either of these solutions forces MS-DOS to search the DOS subdirectory
before the P3 subdirectory.