This article was previously published under Q96829
Retired KB Content Disclaimer
This article was written about products for which Microsoft no longer offers support. Therefore, this article is offered "as is" and will no longer be updated.
The WINA20.386 file is a read-only file that is copied to the rootdirectory on your hard disk (startup) drive when you set up MS-DOS 5Upgrade, MS-DOS 6 Upgrade, or MS-DOS 6.2 Upgrade on a computer that iscapable of running Microsoft Windows in 386 enhanced mode. MicrosoftWindows version 3.0 cannot run in 386 enhanced mode without this file.
NOTE: You do not need the WINA20.386 file if you run any other versionof Microsoft Windows, or if you do not run Microsoft Windows version3.0 in 386 enhanced mode. For a discussion on running the 386enhanced, standard, and real modes in Microsoft Windows, see theMicrosoft Windows "User's Guide."
If you do not have the WINA20.386 file and you try to run Windowsversion 3.0 in 386 enhanced mode, the following message is displayed:
You must have the file WINA20.386 in the root of your boot drive to run Windows in Enhanced Mode
Installing the File
If you see this message, use the EXPAND command to expand and copy thisfile from your MS-DOS installation disk to the root directory of yourstartup drive. The file is located on the following disks:
where <drive> is the floppy disk drive containing your MS-DOS installationdisk and <startupdrive> is your startup drive (usually drive C). Forexample if your floppy disk drive is drive A and your startup drive isdrive C, type the following command:
expand a:\wina20.38_ c:\wina20.386
Deleting the WINA20.386 File
You can delete the WINA20.386 file from your hard disk if you do notuse Microsoft Windows version 3.0 in 386 enhanced mode.
To delete the file:
Remove the read-only attribute by typing the following at the MS-DOS command prompt and pressing ENTER:
attrib -r <startupdrive>:\wina20.386
Delete the file by typing the following command:
Moving the WINA20.386 File
You can move the WINA20.386 file to a new directory as follows:
Copy WINA20.386 to the new location. Type the following at the MS-DOS command prompt and press ENTER
where <path> is the drive and directory to which you are moving WINA20.386. For example, if you are moving WINA20.386 to your Windows SYSTEM subdirectory on drive C, type the following at the MS-DOS command prompt and press ENTER:
copy c:\wina20.386 c:\windows\system\wina20.386
NOTE: If you have MS-DOS 6 or 6.2 Upgrade, substitute MOVE for COPY in the command shown above and skip to step 4.
Use a text editor, such as MS-DOS Editor, to open your CONFIG.SYS file. If you want to use MS-DOS Editor, type the following at the MS-DOS command prompt and press ENTER:
Add the following command on a line of its own at the end of your CONFIG.SYS file:
Save your CONFIG.SYS file. If you are using MS-DOS Editor, choose Exit from the File menu. When MS-DOS Editor displays a dialog box prompting you to save your file, choose the Yes button or press ENTER.
Use the text editor to open your Windows SYSTEM.INI file. (This file should be in your Windows directory.)
Find the section that begins with the header [386Enh].
Add this command under the [386Enh] heading
where <path> specifies the new location of the WINA20.386 file. For example, if you want to move the file to your WINDOWS directory, add the following command to your Windows SYSTEM.INI file:
Save your SYSTEM.INI file. If you're using MS-DOS Editor, choose Exit from the File menu. When MS-DOS Editor displays a dialog box prompting you to save your file, choose the Yes button or press ENTER.