====================================================================== Microsoft(R) Product Support Services Application Note (Text File) PD0471: EXPLANATION OF THE WINA20.386 FILE ====================================================================== Revision Date: 4/93 No Disk Included The following information applies to Microsoft MS-DOS, version 5.0 Upgrade and 6.0 Upgrade. -------------------------------------------------------------------- | INFORMATION PROVIDED IN THIS DOCUMENT AND ANY SOFTWARE THAT MAY | | ACCOMPANY THIS DOCUMENT (collectively referred to as an | | Application Note) IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY | | KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO | | THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A | | PARTICULAR PURPOSE. The user assumes the entire risk as to the | | accuracy and the use of this Application Note. This Application | | Note may be copied and distributed subject to the following | | conditions: 1) All text must be copied without modification and | | all pages must be included; 2) If software is included, all files | | on the disk(s) must be copied without modification [the MS-DOS(R) | | utility DISKCOPY is appropriate for this purpose]; 3) All | | components of this Application Note must be distributed together; | | and 4) This Application Note may not be distributed for profit. | | | | Copyright 1993 Microsoft Corporation. All Rights Reserved. | | Microsoft and MS-DOS are registered trademarks and Windows | | is a trademark of Microsoft Corporation. | -------------------------------------------------------------------- INTRODUCTION ------------ The WINA20.386 file is a read-only file that is copied to the root directory on your hard disk (startup) drive when you set up MS-DOS 5 Upgrade or MS-DOS 6 Upgrade on a computer that is capable of running Microsoft Windows in 386 enhanced mode. Microsoft Windows version 3.0 cannot run in 386 enhanced mode without this file. You do not need the WINA20.386 file if you run any other version of Microsoft Windows, or if you do not run Microsoft Windows version 3.0 in 386 enhanced mode. For a discussion on running the 386 enhanced, standard, and real modes in Microsoft Windows, see the "Microsoft Windows User's Guide". HOW CAN I TELL IF I NEED THE WINA20.386 FILE? --------------------------------------------- If you do not have this file and try to run Windows version 3.0 in 386 enhanced mode, the following message is generated: You must have the file WINA20.386 in the root of your boot drive to run Windows in Enhanced Mode If you see this message, use the EXPAND command to expand and copy this file from your MS-DOS installation disk to the root directory of your startup drive. The file is on Disk 3 (3.5-inch disks) and Disk 5 (5.25-inch disks) for MS-DOS 5 Upgrade and Disk 1 (3.5-inch disks) and Disk 2 (5.25-inch disks) for MS-DOS 6 Upgrade. Insert your installation disk in your floppy disk drive, type the following at the MS-DOS command prompt, and press ENTER expand :\wina20.38_ :\wina20.386 where is the floppy disk drive containing your MS-DOS installation disk and is your startup drive (usually drive C). For example if your floppy disk drive is drive A and your startup drive is drive C, type the following command: expand a:\wina20.38_ c:\wina20.386 CAN I DELETE THE WINA20.386 FILE? --------------------------------- You can delete the WINA20.386 file from your hard disk if you do not use Microsoft Windows version 3.0 in 386 enhanced mode. To delete the file: 1. Remove the read-only attribute by typing the following at the MS- DOS command prompt and pressing ENTER: attrib -r :\wina20.386 2. Delete the file by typing the following command: del :\wina20.386 CAN I MOVE THE WINA20.386 FILE? ------------------------------- You can move the WINA20.386 file to a new directory as follows: 1. Copy WINA20.386 to the new location. Type the following at the MS- DOS command prompt and press ENTER copy :\wina20.386 :\wina20.386 where 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 Upgrade, substitute MOVE for COPY in the command shown above and skip to step 4. 2. 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: edit :\config.sys 3. Add the following command on a line of its own at the end of your CONFIG.SYS file: switches=/w 4. Save your CONFIG.SYS 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. 5. Use the text editor to open your Windows SYSTEM.INI file. (This file should be in your Windows directory.) 6. Find the section that begins with the header [386Enh]. 7. Add this command under the [386Enh] heading device=\wina20.386 where 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: device=c:\windows\wina20.386 8. 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. 9. Restart your computer by pressing CTRL+ALT+DEL.